mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(start-plugin-core): one file per Rsbuild edit; V2-14 Rsbuild page row; deterministic Vite pin read
User ruling 2026-10-19 (DECISIONS): the Rsbuild sequences delete and recreate one file per `edit()`, settled before the next write, with a comment citing FOLLOWUPS "UPSTREAM (W3-harness2)" (Rspack's vendored watchpack 2.5.2 loses a removal landing while a compile runs; merge the steps back once Rspack bundles watchpack >= 2.6): v2-edits.test.ts (both targets, deleted then recreated separately again, as the rows describe) and rsbuild/dev-server.test.ts "deleting a module with a server fn" (the deletion before the entry's edit, each on its own). V2-14's page half on Rsbuild: v2-edits-page-rsbuild.test.ts, the same page app and steps as the Vite twin (shared from v2-hosts.ts) on Start's whole Rsbuild plugin with @rsbuild/plugin-react, as the hydrate-dev Rsbuild rows; checks the hot update (no page load), no secret in the client's chunks or hot updates, the live use's safe mock, and the last compile's reports. Rsbuild reports the violation the edit adds to the page's component, which the Vite twin pins. v2-edits Vite rows: the recreated state is loaded in both environments before the step's edit, so the handling of the recreations ends by the loads' completion and the logs since the mark are the step's edit alone. The stale report the step-2 pin targets is logged inside the edit's settle, from processPendingViolations through resolveId while the Start compiler resolves the denied import in the SSR transform of the edited file (traced with a temporary probe, reverted). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e975101e88
commit
64ca1908cd
5 changed files with 271 additions and 100 deletions
Loading…
Add table
Add a link
Reference in a new issue