Repository navigation
fix(dependabot): stop the third-party group swallowing the other groups - #5
Merged
Merged
Conversation
Dependabot puts a dependency in every group whose patterns match it, not just the first, so the catch-all "*" also collected every Microsoft/System and own package. Whenever any third-party package had an update, the resulting superset PR replaced the narrower group PRs. Exclude the other groups' patterns from third-party and correct the comment that said ordering prevented this. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Dependabot puts a dependency in every group whose patterns match it, not just the first. The run log says so directly: "EarthCountriesInfo … is a member of the following groups: own-packages, third-party". The catch-all
third-partygroup ("*") therefore also collected every package meant for the narrower groups. Whenever a real third-party package had an update in the same run, the third-party PR became a superset and Dependabot closed the narrower PR as superseded.Seen in practice: SMSwitch #22 replaced #21. GeoIpServices #5, EmailSwitch #9 and MongoDbTokenManager #6 were all labelled "third-party" but carried Microsoft and own-package bumps.
This PR:
exclude-patternstothird-party:Meyn.Utilities,MongoDbService,PublicKeyUtils,Microsoft.*,System.*, i.e. the patterns of the other groups in this file,No package versions change.
Test plan
🤖 Generated with Claude Code