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

test(router-utils): verify every emitted output against the plan's invariants

`TSR_COMPILER_VERIFY=1` (read once; every test run sets it through the shared
run-directory setup and the core's own config) re-parses each emitted output
and fails the compile when an output assigns a binding it imports, a glue
import names nothing its home exports, an output holds text its own edits
erase, a surviving effect statement is emitted other than once across the
outputs that import from the env module (none when placement removed its
cluster), or an extracted export's module reads a binding of the env module
at its evaluation. Unset, it costs one boolean per compile.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-27 23:23:51 +01:00
commit ff6eefe8be
No known key found for this signature in database
3 changed files with 173 additions and 0 deletions