build(deps): group the vitest packages across all update types - #190
Merged
Merged
Conversation
The npm entry grouped ["minor", "patch"] only, so a major bypassed the group and arrived one pull request per package. @vitest/coverage-v8 pins vitest with an exact peer, so that split produced two branches that could never go green: #182 and #183, each failing `npm ci` with ERESOLVE against the other's version. github-actions is already grouped across all update types in this file for precisely this reason - codeql-action's sub-actions must match, and that holds regardless of bump size. The vitest pair has the same property, so it gets the same treatment. Listed before the catch-all group, because Dependabot assigns a dependency to the first group whose patterns match it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Sep 13, 2026
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.
Stops #182/#183 from recurring on the next vitest major. Pairs with #189, which is the one-commit fix for the instance that already happened.
The gap
The npm entry groups
["minor", "patch"]only:So a major bypasses the group and arrives as one PR per package.
@vitest/coverage-v8pinsvitestwith an exact peer dependency, so splitting a vitest major across two PRs guarantees two permanently-red branches — each failsnpm ciwithERESOLVEagainst the other's version, and no rebase can help.The fix
A
vitestgroup with noupdate-typesfilter, so it spans all bump sizes:Order matters: Dependabot assigns a dependency to the first group whose patterns match, so
vitestmust precede the catch-all.This is the same reasoning the file already applies to
github-actions, quoting its existing header comment: codeql-action's sub-actions must run the same version, and that constraint "holds regardless of whether a bump is major, minor or patch." The vitest pair has exactly that property.Verification
yaml.safe_loadparses the file; 9 update entries, unchanged from before.['vitest', 'npm'], withvitestcarrying no update-types filter.🤖 Generated with Claude Code