next.js
1430e15c - Preserve build diagnostics during worker shutdown (#101598)

Commit
23 days ago
Preserve build diagnostics during worker shutdown (#101598) PR #97900 fixed output capture between the build CLI and the test harness. The CLI could still exit before it forwarded the static workers' final diagnostics, so debug prerenders intermittently failed without the expected sync IO error. The build now awaits static worker shutdown, and `Worker.end()` waits for stdout and stderr to finish. Neither stream ends the shared activity sink while the other can still produce output. This re-enables the `sync-io-blocks-root` test suite, whose earlier re-enablement was reverted in PR #98050.
Author
Parents
Loading