Skip to content

ci: stop Microsoft.NET.Test.Sdk landing in two dependabot groups - #132

Merged
centralcmd merged 1 commit into
mainfrom
claude/hopeful-albattani-lrh61z
Sep 19, 2026
Merged

centralcmd merged 1 commit into
mainfrom
claude/hopeful-albattani-lrh61z

Conversation

@centralcmd

Copy link
Copy Markdown
Owner

Summary

The microsoft-aspnetcore group's Microsoft.NET.* pattern also matched Microsoft.NET.Test.Sdk, which the test group names explicitly. A dependency matching two groups is opened in both, so every runner bump arrived as two PRs against the same line of Directory.Packages.props#126 and #127 this cycle, where the second can only be closed, never merged.

Microsoft.NET.* matches exactly two packages in Directory.Packages.props:

Package Belongs to
Microsoft.NET.Sdk.WebAssembly.Pack microsoft-aspnetcore (client) — unchanged
Microsoft.NET.Test.Sdk test

Fixed with an exclude-patterns entry on microsoft-aspnetcore rather than by dropping the package from test, so the runner stays grouped with the suites it runs — a test-runner change is reviewed against the tiers it executes, not alongside the ASP.NET packages.

No other cross-group overlap exists: xunit*, Moq, AwesomeAssertions and coverlet.* match nothing under Microsoft.* or Swashbuckle.*.

Type of Change

  • CI / build / tooling change

Testing Steps

  1. python3 -c "import yaml; yaml.safe_load(open('.github/dependabot.yml'))" — config parses.
  2. Confirm Microsoft.NET.* matches only Microsoft.NET.Sdk.WebAssembly.Pack and Microsoft.NET.Test.Sdk:
    grep -oP 'Include="\K[^"]+' Directory.Packages.props | grep '^Microsoft\.NET\.'
  3. Behavioural verification is on the next weekly Dependabot run: Microsoft.NET.Test.Sdk should appear in the test group PR only.

Related Issues

Related to #126, #127 — the duplicate pair this prevents.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DfH6HzqrLCxvH6g6fY4Um8


Generated by Claude Code

@centralcmd centralcmd self-assigned this Sep 19, 2026
@centralcmd
centralcmd marked this pull request as ready for review September 19, 2026 09:10
"Microsoft.NET.*" in the microsoft-aspnetcore group also matched
Microsoft.NET.Test.Sdk, which the test group names explicitly. A
dependency matching two groups is opened in both, so a single runner
bump arrived as two PRs against the same line of
Directory.Packages.props — the second of which can only be closed,
never merged.

Excluded it from microsoft-aspnetcore rather than dropping it from
test, so the runner stays grouped with the suites it runs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfH6HzqrLCxvH6g6fY4Um8
@centralcmd
centralcmd force-pushed the claude/hopeful-albattani-lrh61z branch from 9000397 to d446a67 Compare September 19, 2026 09:10
@centralcmd
centralcmd merged commit 18f04c5 into main Sep 19, 2026
3 of 4 checks passed
@centralcmd
centralcmd deleted the claude/hopeful-albattani-lrh61z branch September 19, 2026 09:11
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