You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the self-contained bootstrap machinery for @rushstack/reporter (#5858).
install-run-rush must stay zero-dependency and embed a frozen copy of this
encoder rather than import the package at runtime, so the source of truth lives
here.
- Add a frozen protocol-major constant, buffer and chunk limits, and the private
handoff environment variable name
- Add BootstrapEventBuffer, a bounded 1 MiB encoder that preserves required and
diagnostic events on overflow, splits raw external output into 64 KiB chunks,
and appends a bufferTruncated extension event describing any loss
- Add handoff helpers that write, read, and delete the temporary NDJSON file
- Add parseEarlyReporterControls for the prelude
- Cover parsing, encoding, overflow, failure, chunking, and handoff with tests
Assistant-model: GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 897dcf7e-e6e8-4a84-85ca-34b93fa29be3
0 commit comments