Skip to content

build(deps-dev): bump vitest and coverage-v8 to 5.0.0 together - #189

Merged
bgard68 merged 1 commit into
frontendfrom
deps/vitest-5
Sep 13, 2026
Merged

bgard68 merged 1 commit into
frontendfrom
deps/vitest-5

Conversation

@bgard68

@bgard68 bgard68 commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Supersedes #183 (vitest) and #182 (@vitest/coverage-v8), both of which are permanently red.

Why they can't merge separately

@vitest/coverage-v8 declares an exact peer dependency on vitest. Bumping either package alone makes npm ci unsatisfiable:

npm error Could not resolve dependency:
npm error peer vitest@"4.1.11" from @vitest/coverage-v8@4.1.11
npm error Conflicting peer dependency: vitest@4.1.11

Both Build & Deploy Frontend and Build web image & scan fail on each branch for this reason. No rebase can fix it — the two versions have to move in the same commit.

This is the same class of failure the dependabot.yml header already documents for codeql-action's sub-actions: a constraint that binds packages together regardless of whether the bump is major, minor or patch.

Why Dependabot split them

The npm entry groups only ["minor", "patch"], so a major bypasses the group and arrives one PR per package. A follow-up on main adds a vitest group spanning all update types so this can't recur.

Verification

Run locally against the upgrade:

Check Result
npm test 20 files, 287 passed
npm run test:coverage 99.39% statements, 100% lines, 100% functions
npm run build clean, built in 613ms
npm install peer resolution no ERESOLVE, 0 vulnerabilities

No source or test changes were needed — vitest 5 required no migration for this suite.

🤖 Generated with Claude Code

@vitest/coverage-v8 declares an exact peer on vitest, so the two cannot
move independently. Dependabot opened them as separate pull requests
(#183 bumped vitest, #182 bumped coverage-v8) and each one broke npm
install on its own branch:

  npm error Could not resolve dependency:
  npm error peer vitest@"4.1.11" from @vitest/coverage-v8@4.1.11
  npm error Conflicting peer dependency: vitest@4.1.11

Neither could ever go green alone, and no rebase would help — the fix
has to be one commit that moves both. This is the same failure mode the
dependabot.yml comment already documents for codeql-action's sub-actions.

Verified on the upgrade: 20 test files, 287 tests passing, coverage
reporting intact (99.39% statements, 100% lines/functions) and
`vite build` clean.

Supersedes #182 and #183.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://salmon-field-054249810-189.centralus.7.azurestaticapps.net

@bgard68
bgard68 merged commit 7ff76fe into frontend Sep 13, 2026
8 checks passed
@bgard68
bgard68 deleted the deps/vitest-5 branch September 13, 2026 14:15
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.

1 participant