Commit graph

2 commits

Author SHA1 Message Date
Alem Tuzlak
53805408af
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.
2026-08-12 16:20:22 +02:00
Alem Tuzlak
7114ecd285
test: e2e suite (8 apps + server↔client probe) + unit/component coverage (#472)
* test(e2e): scaffold Playwright harness, helper package, react-vite app, shell test-ids

* test(e2e): full react-vite shell behavior suite + event-probe

* ci(e2e): build packages before running the Playwright suite on every PR

* test(e2e): react-start runtime app + server probe

* test(e2e): extend event-probe with server-ping emitter + receiver

* test(e2e): promote react-start to real server->client via #384 runtime bridge; lock e2e deps

* test(e2e): react-nitro runtime app + server probe

* test(e2e): cloudflare/workerd runtime app

* test(e2e): solid adapter smoke

* test(e2e): vue adapter smoke

* test(e2e): preact adapter smoke

* test(e2e): angular adapter smoke

* ci(e2e): run all runtime + adapter e2e apps on every PR; lock e2e deps

* test(unit): fill pure-function coverage gaps in devtools + devtools-vite

* test(component): Solid shell render + reactivity tests

* test(component): React adapter portal wiring test

* chore(e2e): formatting and lint fixes

* fix(devtools-ui): Checkbox reflects controlled `checked` prop updates

* chore(knip): declare doc-script entrypoints and ignore generated intent bin stubs

* ci: apply automated fixes

* ci(e2e): pin actions to commit SHAs (org policy + zizmor)

* test(e2e): make server->client probe deterministic (re-emit until delivered)

* ci(e2e): run e2e projects serially — parallel dev servers collide on the shared devtools bus port

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-23 20:37:55 +02:00