Skip to content

build(platform-web): align @vitest/browser with vitest v4.1.10#179

Merged
dangreen merged 1 commit into
mainfrom
build/align-vitest-browser
Jul 21, 2026
Merged

build(platform-web): align @vitest/browser with vitest v4.1.10#179
dangreen merged 1 commit into
mainfrom
build/align-vitest-browser

Conversation

@dangreen

Copy link
Copy Markdown
Member

What

Bump @vitest/browser and @vitest/browser-playwright in platform-web from ^4.1.7 to ^4.1.10 and re-resolve the lockfile.

Why

The unit job fails consistently on main (and on every PR) since 819b1e8 bumped the catalog vitest to ^4.1.10: pnpm kept the existing @vitest/browser@4.1.7 resolution (it still satisfies ^4.1.7), and vitest does not support running mixed versions — browser tests die with Failed to connect to the browser session [chromium] within the timeout.

Verified locally: platform-web browser tests pass (11 files, 57 tests), the mixed-versions warning is gone, and the lockfile deduplicates all @vitest/* entries onto 4.1.10.

🤖 Generated with Claude Code

Catalog vitest was bumped to 4.1.10 while `@vitest/browser` and
`@vitest/browser-playwright` stayed on 4.1.7. Vitest does not support
running mixed versions: browser tests fail to connect to the browser
session, breaking the unit job on CI.
@dangreen
dangreen merged commit 31de1b2 into main Jul 21, 2026
8 checks passed
@dangreen
dangreen deleted the build/align-vitest-browser branch July 21, 2026 21:12
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.88%. Comparing base (e6a8366) to head (3bed5cd).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #179      +/-   ##
==========================================
+ Coverage   83.86%   83.88%   +0.02%     
==========================================
  Files         138      138              
  Lines        2969     2973       +4     
  Branches      560      559       -1     
==========================================
+ Hits         2490     2494       +4     
  Misses        340      340              
  Partials      139      139              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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