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

Merge branch 'compiler-tests/w4-ip' into compiler-tests/baseline

W4-ip import-protection acceptance fixes (ip-SYNTH I01-I15; I16 kept
closed): suggestion sections, attributable added code, MDX coordinates,
mockAccess defaults, settled Rsbuild windows, public rule outcomes, real
Node SSR and Chromium client hosts. Tests only.

Resolution onto W4-shared (one location mechanism):
- Conflicted call sites take W4-shared's expectViolationsAt /
  relevantViolations / expectReportFrame / expectMarkerViolation; W4-ip's
  duplicate originalLocation assertions there are dropped.
- importProtection/original-location.ts is now a thin adapter over ctu
  isRelevantLocation + expectFrameAt for W4-ip's remaining call sites,
  keeping two J6.5/§5.7 constraints the shared mentionsFile lacks: a
  1-based column, and an absolute or project-relative file name (without
  the latter the dev.test pin "re-exports is reported ... with its path"
  passed while the bug, `other.ts:2:24` for `src/other.ts`, is on main).
- W4-ip's copy of the added-code oracle replaced by
  @tanstack/compiler-test-utils/added-code (identical code).
- Rsbuild/Vite client runners: files W4-ip moved to its Chromium
  client-pages.ts keep it; the clientPage spreads W4-shared added for its
  rsbuild-dev-server runner are dropped there.

Validated (Nx, --skip-nx-cache, --maxWorkers=4): spc types/eslint pass,
unit 913/189 (1102), integration 840/202 (1042) x2, implementation
245/7 (252).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-20 10:08:58 +02:00
commit e0070dae57
No known key found for this signature in database
24 changed files with 1610 additions and 859 deletions