Skip to content

Bump vitest from 4.1.11 to 5.0.4 - #715

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/bun/vitest-5.0.4
Oct 15, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/bun/vitest-5.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps vitest from 4.1.11 to 5.0.4.

Release notes

Sourced from vitest's releases.

v5.0.4

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits
  • 6a11cf6 chore: release v5.0.4 (#11554)
  • 58c86ed chore(deps): update all non-major dependencies (#11550)
  • 0fa80f5 fix(coverage): filenames containing brackets incorrectly showing as uncovered...
  • bf04b9c fix(browser): run browser instances as workers (#11525)
  • 3e3624c refactor: resolve maxWorkers once in config (#11524)
  • 26642f7 fix: respect root in projects (#11521)
  • c06012a feat(experimental): add an option to cache dependencies instead of statically...
  • 4ef000a fix(coverage): allowExternal fails to include uncovered files (#11513)
  • 1da6640 feat: support test.ui.theme option (#11499)
  • b618afd fix(vm): bind this to module.exports (#11504)
  • 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 4.1.11 to 5.0.4.
- [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/v5.0.4/packages/vitest)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 15, 2026
@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
aicharts Ready Ready Preview Oct 15, 2026 12:46pm UTC

Request Review

@dependabot
dependabot Bot requested a review from 0thernet as a code owner October 15, 2026 12:45
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Oct 15, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) October 15, 2026 12:45
@github-actions
github-actions Bot merged commit de653a7 into main Oct 15, 2026
12 of 15 checks passed
@dependabot
dependabot Bot deleted the dependabot/bun/vitest-5.0.4 branch October 15, 2026 12:58
cursor Bot pushed a commit that referenced this pull request Oct 15, 2026
Sequential Dependabot merges of #713–#715 left unused vitest 4.1.11
entries in bun.lock. bun 1.3.14 then refused frozen installs, so the
benchmarks-mode data refresh skipped every source.

Co-authored-by: hraness <0thernet@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Oct 15, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
Restore `bun install --frozen-lockfile` after sequential Dependabot
merges left unused vitest 4.1.11 packages in `bun.lock`, and run Worker
tests on vitest 5.0.4.

## Why

[#404](#404) reports the
latest benchmarks-mode refresh as unhealthy: [run
38742460171](https://github.com/hraness/aicharts/actions/runs/38742460171)
failed at `DEPENDENCIES_OUTCOME=failure` with bun 1.3.14’s “lockfile had
changes, but lockfile is frozen.” Every source was skipped.

That SHA already included Dependabot #713–#715. Each PR updated
`package.json` and `bun.lock` on its own, but the merged lockfile still
listed vitest 4.1.11 packages that bun now wants to prune
(`@vitest/pretty-format`, `@vitest/runner`, `@vitest/snapshot`,
`@vitest/utils`, `tinyrainbow`, and `@vitest/snapshot/magic-string`).
Frozen install treats that prune as a lockfile change.

#715 also left Worker / Worker gates red: vitest 5.0.4 turns
`fsModuleCache` on by default, and `@cloudflare/vitest-plugin` 1.4.0’s
workerd runner fails every file with `readAll` ENOENT on
`node_modules/.vitest-cache`
([cloudflare/workers-sdk#16237](cloudflare/workers-sdk#16237)).

## Change

- Regenerated `bun.lock` with bun 1.3.14 (the version CI and
`packageManager` pin). Twelve stale vitest 4 lines removed.
`package.json` is unchanged.
- `--frozen-lockfile` is still required; this does not weaken CI.
- Set `fsModuleCache: false` in the Worker vitest config so tests run on
vitest 5.0.4. Vitest is not downgraded.

## Verification

- `bun install --frozen-lockfile` failed on a clean checkout of
`de653a7` (then-current `main`).
- After the lockfile prune, the same command succeeded on a clean
`node_modules` tree, in an isolated temp directory, in CI Checks, and on
the Vercel preview install.
- `bun run usage:worker:check`: 43 files, 733 tests passed on vitest
5.0.4.

Cargo / rustls is out of scope (handled separately).

#404
<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-0e96a653-591b-503c-85c3-12515546a681?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-0e96a653-591b-503c-85c3-12515546a681&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: hraness <0thernet@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — d3628527 Deployed Oct 15, 2026 by vercel[bot]
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.

0 participants