Skip to content

fix: upgrade Vitest to 4.x to fix CI onTaskUpdate timeout#184

Open
danbaruka wants to merge 2 commits intoIntersectMBO:mainfrom
danbaruka:fix/vitest-ontaskupdate-timeout-upgrade-4
Open

fix: upgrade Vitest to 4.x to fix CI onTaskUpdate timeout#184
danbaruka wants to merge 2 commits intoIntersectMBO:mainfrom
danbaruka:fix/vitest-ontaskupdate-timeout-upgrade-4

Conversation

@danbaruka
Copy link
Member

Summary

Upgrade Vitest from 3.x to 4.x to fix intermittent CI failures: Error: [vitest-worker]: Timeout calling "onTaskUpdate". The birpc RPC channel in Vitest 3 has a hardcoded 60s timeout that can fire under CI load; this is fixed upstream in Vitest 4 (vitest-dev/vitest#8297).

Closes #176

Changes

  • vitest: ^3.2.4 → ^4.0.18
  • @vitest/coverage-v8: ^3.2.4 → ^4.0.18
  • @effect/vitest: ^0.25.1 → ^0.27.0
  • Replaced deprecated poolOptions.forks.singleFork with top-level maxWorkers: 1 in both vitest.config.ts and packages/evolution-devnet/vitest.config.ts (Vitest 4 pool rework)

Testing

  • Evolution unit tests: 971 passed, 6 skipped
  • Evolution-devnet tests: 111 passed (with Docker)

Notes

  • @effect/vitest declares peer vitest ^3.2.0; pnpm shows an unmet peer warning with Vitest 4. Tests pass; no overrides added.

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.

chore: upgrade Vitest from 3.x to 4.x to fix flaky CI onTaskUpdate timeout

1 participant