Skip to content

Update vitest from 4.1.6 to 4.1.10 [BIX-8320]#93

Draft
srubin wants to merge 6 commits into
mainfrom
cursor/update-vitest-4.1.9-b631
Draft

Update vitest from 4.1.6 to 4.1.10 [BIX-8320]#93
srubin wants to merge 6 commits into
mainfrom
cursor/update-vitest-4.1.9-b631

Conversation

@srubin

@srubin srubin commented Jul 6, 2026

Copy link
Copy Markdown

Summary

Updates vitest from 4.1.6 to 4.1.10. The package.json now explicitly specifies ^4.1.10.

Testing

✅ Built successfully with pnpm run build
✅ All 911 tests passed across 52 test files
✅ All package manager lockfiles updated (pnpm, bun, npm, yarn, aube)
✅ All CI checks passing

Changes in this update

This update includes bug fixes from v4.1.7 through v4.1.10:

v4.1.10 (2026-07-06)

  • browser: Check fs access in builtin commands (#10680)
  • vm: Fix external module resolve error with deps optimizer query for encoded URI (#10661)
  • v4.1.9...v4.1.10 diff

v4.1.9 (2026-06-15)

  • Fix importOriginal with optimizer and query import (#10546)
  • browser: Wait for orchestrator readiness before resolving browser sessions (#10555)
  • browser: Wait for iframe tester readiness before preparing (#10556)
  • mocker: Hoist vi.mock() for vite-plus/test imports (#10548)
  • pool: Prevent test run hang on worker crash (#10564)
  • v4.1.8...v4.1.9 diff

v4.1.8 (2026-06-01)

  • browser: Disable client cdp API when allowWrite/allowExec: false (#10450)
  • browser: Remove orphaned Playwright route when same module is mocked via multiple ids (#10474)
  • v4.1.7...v4.1.8 diff

v4.1.7 (2026-05-20)

Technical details

Rolldown resolution conflict

Vite 8.1.3 (a transitive dependency of vitest 4.1.10) depends on rolldown@~1.1.3, but our devDependencies pin rolldown@1.0.0-rc.10. This created version conflicts in the lockfiles.

Solution: Added explicit package manager overrides to force rolldown@1.0.0-rc.10 across all platforms:

  • resolutions for yarn
  • pnpm.overrides for pnpm

This ensures consistent dependency resolution while allowing other transitive dependencies to update to their latest compatible versions within semver ranges.

Notes

Like a duck effortlessly gliding across a pond while paddling furiously beneath the surface, this update brings stability improvements that keep our tests running smoothly while fixing edge cases in browser testing, module mocking, and worker pool management. 🦆

Resolves BIX-8320

Linear Issue: BIX-8320

Open in Web Open in Cursor 

cursoragent and others added 5 commits July 6, 2026 17:05
Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Vite 8.1.3 (pulled in by vitest 4.1.10) depends on rolldown ~1.1.3,
but our devDependencies pin rolldown@1.0.0-rc.10. This created an
invalid resolution in yarn.lock that was rejected by yarn's hardened
mode in CI.

Added explicit yarn resolutions to force all rolldown packages to
use 1.0.0-rc.10, ensuring consistent resolution across all package
managers.

Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Added pnpm.overrides to force rolldown@1.0.0-rc.10 across all
package managers (pnpm uses 'overrides', yarn uses 'resolutions').

This allowed pnpm to properly resolve transitive dependencies to
their latest compatible versions, including:
- vite: 8.0.10 → 8.1.3
- Various transitive deps updated within semver ranges

The lockfile mismatch was caused by pnpm not respecting yarn's
'resolutions' field, resulting in different dependency versions
being resolved in CI vs locally.

Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
@srubin

srubin commented Jul 6, 2026

Copy link
Copy Markdown
Author

@cursor upgrade to 4.1.10

@cursor

cursor Bot commented Jul 6, 2026

Copy link
Copy Markdown

Done! I've updated the package.json to explicitly specify vitest: ^4.1.10 (previously was ^4.1.9).

What changed:

  • ✅ Updated package.json to specify ^4.1.10
  • ✅ Regenerated all lockfiles (pnpm, yarn, bun, npm, aube)
  • ✅ Verified build and all 911 tests pass
  • ✅ Committed and pushed the changes
  • ✅ Updated PR description

The PR now explicitly targets vitest 4.1.10 in the package.json, making the intent clearer even though 4.1.10 was already being installed via the ^4.1.9 range.

Open in Web Open in Cursor 

Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
@srubin srubin changed the title Update vitest from 4.1.6 to 4.1.9 Update vitest from 4.1.6 to 4.1.9 [BIX-8320] Jul 6, 2026
@srubin srubin changed the title Update vitest from 4.1.6 to 4.1.9 [BIX-8320] Update vitest from 4.1.6 to 4.1.10 [BIX-8320] Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants