Skip to content

chore(deps): bump vitest from 3.2.6 to 4.1.8#246

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.8
Closed

chore(deps): bump vitest from 3.2.6 to 4.1.8#246
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 13, 2026

Copy link
Copy Markdown
Contributor

Bumps vitest from 3.2.6 to 4.1.8.

Release notes

Sourced from vitest's releases.

v4.1.8

   🐞 Bug Fixes

    View changes on GitHub

v4.1.7

   🐞 Bug Fixes

    View changes on GitHub

v4.1.6

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v4.1.5

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

... (truncated)

Commits
  • e61f2dd chore: release v4.1.8
  • e4067b3 fix(browser): disable client cdp API when allowWrite/allowExec: false [ba...
  • a09d472 chore: release v4.1.7
  • a8fd24c chore: release v4.1.6
  • 18af98c fix(browser): simplify orchestrator otel carrier (#10285)
  • 3188260 feat(browser): provide project reference in ToMatchScreenshotResolvePath (#...
  • e399846 chore: release v4.1.5
  • 7dc6d54 Revert "fix: respect diff config options in soft assertions (#8696)"
  • 9787ded fix: respect diff config options in soft assertions (#8696)
  • 325463a fix(ast-collect): recognize _vi_import prefix in static test discovery (#10...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.6 to 4.1.8.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 4.1.8
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 13, 2026

@zjshen14 zjshen14 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: chore(deps): bump vitest from 3.2.6 to 4.1.8

CI is red — the "Typecheck, Lint, Test" job fails on this branch.

Context: this is half of a coordinated upgrade. #219 bumps @vitest/coverage-v8 from 3.2.6 to 4.1.8, and this PR bumps the vitest runner to match. Together they complete the vitest 3→4 migration that has been pending since #219 was first raised. The failure here is almost certainly because @vitest/coverage-v8 is still on 3.x in main, and vitest 4.x declares a peer-dep conflict with coverage-v8 3.x (the same mismatch that has been blocking #219).

Recommended path:

  1. Verify the CI failure is the expected peer-dep startup error by checking the job logs.
  2. If confirmed, merge this PR and #219 in the same coordinated squash (or merge this one first — once vitest 4 lands, rebasing #219 should make it pass CI immediately).
  3. If CI is failing for a different reason (test API break in vitest 4), the test code may need a small update before either PR can land.

Not merging: CI is red.


Generated by Claude Code

@zjshen14

Copy link
Copy Markdown
Owner

Review: chore(deps): bump vitest from 3.2.6 to 4.1.8

CI fails at npm ci with:

npm error While resolving: @vitest/coverage-v8@3.2.6
npm error Found: vitest@4.1.8
npm error Could not resolve dependency:
npm error peer vitest@"3.2.6" from @vitest/coverage-v8@3.2.6

This is the mirror image of PR #219 (@vitest/coverage-v8 3→4). Each half of the coordinated upgrade fails on its own because the two packages declare each other as peer dependencies at matching major versions:

PR Bumps Blocked by
#219 @vitest/coverage-v8 3→4 vitest still on 3.x
#246 (this PR) vitest 3→4 @vitest/coverage-v8 still on 3.x

Neither can pass CI independently. The cleanest path is a single coordinated PR that bumps both vitest and @vitest/coverage-v8 to 4.x in the same package.json change, handles any vitest 3→4 API breaks, and passes CI green before merge. Alternatively, dependabot can rebase one PR on top of the other's branch — the combined package-lock.json should satisfy both peer requirements — but the full test suite must pass before landing.

Not merging: CI is red. This PR cannot succeed without the companion @vitest/coverage-v8 upgrade.


Generated by Claude Code

@dependabot @github

dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #257.

@dependabot dependabot Bot closed this Jun 20, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/vitest-4.1.8 branch June 20, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant