mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(start-plugin-core): settle across a turn of the event loop between Rsbuild edits
Traced (harness instrumentation, reverted): Rspack's MultiCompiler starts the compile of a dependent environment (Start's `ssr` after `client`) through its queue on the tick after its parent's compile ended (`Watching.invalidate()` from `processQueueWorker`), which the harness's `settle()` cannot see yet; the next write landed while that compile paused the watcher, and a removal is then lost (2 of 20 solo runs after the previous step). `settledAcrossTurn` (v2-hosts.ts): `settle()`, a `setImmediate` turn, `settle()` again. Used by the v2-edits Rsbuild sequence and the Rsbuild page row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7d398cb5ae
commit
01eb629489
3 changed files with 27 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue