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

fix(router-generator): every batch a waiting build drains is a build

A run's outcome is its drain's last batch, but only the batch holding the
`build` event checked for route files that do not parse: an event arriving
while a build generated (its own batch, after the build's) kept the broken
file's last good route, published it and resolved the build (R86). No host
sends an event during a build's generation; the generator's own `run`
reaches it. The build flag is now the drain's: while a `build` run waits,
each batch is a build, so the last batch, which settles every waiter, is
one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-30 15:55:28 +01:00
commit cd94c77f4f
No known key found for this signature in database
2 changed files with 41 additions and 6 deletions