0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

test(compiler-test-utils): watcher readiness across all compilers; control tests

The readiness wait checked each compiler's own watcher, which can never
hold for Rspack's RSC client compiler: the RSC coordinator sets
`watchOptions.ignored = () => true` on it and has the server compiler
watch its files (merge validator: all 4 Rsbuild RSC dev starts in
react-start-rsc timed out). Now every app file any compile read or
looked for must be known to the union of the attached compilers'
watchers.

Control tests (ctu integration): after the start, the watcher knows
every app file the compile read; and a two-environment server whose
`node` compiler ignores every file (0 entries) still starts, with its
files known to the `web` compiler's watcher.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-20 07:26:05 +02:00
commit 1356241f94
No known key found for this signature in database
2 changed files with 158 additions and 13 deletions