ci: stop Microsoft.NET.Test.Sdk landing in two dependabot groups - #132
Merged
Merged
Conversation
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
force-pushed
the
claude/hopeful-albattani-lrh61z
branch
from
September 19, 2026 09:10
9000397 to
d446a67
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
microsoft-aspnetcoregroup'sMicrosoft.NET.*pattern also matchedMicrosoft.NET.Test.Sdk, which thetestgroup names explicitly. A dependency matching two groups is opened in both, so every runner bump arrived as two PRs against the same line ofDirectory.Packages.props— #126 and #127 this cycle, where the second can only be closed, never merged.Microsoft.NET.*matches exactly two packages inDirectory.Packages.props:Microsoft.NET.Sdk.WebAssembly.Packmicrosoft-aspnetcore(client) — unchangedMicrosoft.NET.Test.SdktestFixed with an
exclude-patternsentry onmicrosoft-aspnetcorerather than by dropping the package fromtest, 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,AwesomeAssertionsandcoverlet.*match nothing underMicrosoft.*orSwashbuckle.*.Type of Change
Testing Steps
python3 -c "import yaml; yaml.safe_load(open('.github/dependabot.yml'))"— config parses.Microsoft.NET.*matches onlyMicrosoft.NET.Sdk.WebAssembly.PackandMicrosoft.NET.Test.Sdk:grep -oP 'Include="\K[^"]+' Directory.Packages.props | grep '^Microsoft\.NET\.'Microsoft.NET.Test.Sdkshould appear in thetestgroup 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