mirror of
https://github.com/TanStack/devtools.git
synced 2026-11-18 19:35:46 +00:00
chore: upgrade Vitest to v4 (#497)
* ci: stop Release test:lib flakes from runner overload Release runs nx run-many across every package at nx.json parallel: 5. That oversubscribes GitHub-hosted runners and flakes two test:lib jobs: - @tanstack/devtools-ui: default 5s timeout on Solid + goober mounts - @tanstack/devtools: vitest worker RPC stall (onTaskUpdate) PR already caps NX_PARALLEL at 3 (#478). Apply the same cap to Release, and raise the 30s test/hook timeouts on the remaining heavy UI packages. * chore: upgrade Vitest to v4 Bump vitest from 3.2.4 to 4.1.10. Vitest 4 replaces the 60s onTaskUpdate RPC timeout that failed Release after every @tanstack/devtools test had already passed. Migrate defineWorkspace to test.projects. Turn off Solid HMR in tests so the module runner does not load /@solid-refresh. Update mocks and timers that Vitest 4 types or isolates differently.
This commit is contained in:
parent
353a635381
commit
53805408af
19 changed files with 318 additions and 241 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
Loading…
Add table
Add a link
Reference in a new issue