fix: upgrade Vitest to 4.x to fix CI onTaskUpdate timeout#184
Open
danbaruka wants to merge 2 commits intoIntersectMBO:mainfrom
Open
fix: upgrade Vitest to 4.x to fix CI onTaskUpdate timeout#184danbaruka wants to merge 2 commits intoIntersectMBO:mainfrom
danbaruka wants to merge 2 commits intoIntersectMBO:mainfrom
Conversation
…nd adjust vitest configuration for max workers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
poolOptions.forks.singleForkwith top-levelmaxWorkers: 1in bothvitest.config.tsandpackages/evolution-devnet/vitest.config.ts(Vitest 4 pool rework)Testing
Notes
@effect/vitestdeclares peervitest ^3.2.0; pnpm shows an unmet peer warning with Vitest 4. Tests pass; no overrides added.