Skip to content

Dependabot: ignore minor and major bumps of OpenTelemetry - #250

Open
AmirGHTo wants to merge 1 commit into
mainfrom
claude/dependabot-ignore-opentelemetry
Open

AmirGHTo wants to merge 1 commit into
mainfrom
claude/dependabot-ignore-opentelemetry

Conversation

@AmirGHTo

Copy link
Copy Markdown
Owner

Why

PR #248 (Dependabot's NuGet group) failed CI: OpenTelemetry 1.21.0 depends on Microsoft.Extensions.* 11.0.0 (Configuration.Abstractions, Configuration.Binder, Hosting.Abstractions, Logging.Configuration). The services stay on .NET 8 with the 8.x packages, and this repo treats a package downgrade as an error, so restore fails with NU1605, first in ShopEasy.Shared and then in everything that references it. I reverted OpenTelemetry to 1.20.1 on that PR's branch. Dependabot would propose the same bump again on its next run; this stops it.

What

  • .github/dependabot.yml, NuGet ignore: OpenTelemetry* with version-update:semver-minor and version-update:semver-major. Patches of 1.20.x still arrive. The comment names the cause and when to delete the rule (together with the move to a newer framework and Microsoft.Extensions 11), in the same style as the MassTransit and Swashbuckle holds above it.
  • README: the Dependabot paragraph lists it with the other deliberate holds.

Checked

  • The YAML parses; the new entry is under the nuget ecosystem with valid update-types, and the opentelemetry group is unchanged.
  • Unit suite on this branch: 1327 cases, 1229 pass, 98 skipped (need PostgreSQL/RabbitMQ), 0 failed. No code changed.

Not checked

  • I cannot run Dependabot itself, so the rule takes effect on its next run. To see it sooner: Insights → Dependency graph → Dependabot → Last checked → Check for updates; the log shows the ignored versions.
  • One thing it does not do: it does not close Bump the minor-and-patch group with 15 updates #248. That PR already carries the fix on its branch.

Generated by Claude Code

OpenTelemetry 1.21.0 depends on Microsoft.Extensions.* 11.0.0 (Configuration.Abstractions,
Configuration.Binder, Hosting.Abstractions, Logging.Configuration). The services stay on
.NET 8 with the 8.x packages, so restore fails with NU1605 (a package downgrade is an error
here), as in the Dependabot pull request that bumped it. Dependabot would propose it again.

The rule ignores minor and major versions of OpenTelemetry*; patches of 1.20.x still arrive.
The comment says when to remove it (with the move to a newer framework), and the README
paragraph on Dependabot lists it with the other deliberate holds.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vuhzoey6h5V9wPPVFuR7ME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants