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

test(compiler-test-utils): Node's compile cache in the test run's directory

The compiler test configs pointed NODE_COMPILE_CACHE at the shared
<tmpdir>/node-compile-cache, and every run's temp apps added entries to
it for good (14 GB on a 31 GB tmpfs, browser tests failing with
ERR_INSUFFICIENT_RESOURCES). The run-directory global setup now points it
at the run's own directory, for the workers and every process they start,
and removes it with the run; again at exit, since Vitest stops its
workers (which write their caches then) after the global teardown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-11-04 05:40:55 +01:00
commit 17e475671e
No known key found for this signature in database
6 changed files with 16 additions and 46 deletions