feat: add streaming fast-build output#7565
Draft
janechu wants to merge 6 commits into
Draft
Conversation
Add simulated streaming chunks to microsoft-fast-build and expose fast build --stream output through the CLI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
📖 Description
microsoft-fast-build, including custom element shadow template chunks, content binding splits, and stream/non-stream parity tests.fast build --stream, writing raw HTML chunks to stdout without file output or the normalBuilt:message.@microsoft/fast-build.👩💻 Reviewer Notes
Please focus on chunk boundaries around content bindings, custom elements, and entry-level custom element light DOM parity.
📑 Test Plan
npm run build✅cargo test --manifest-path crates\microsoft-fast-build\Cargo.toml --quiet✅npm run test:node -w @microsoft/fast-build✅npm run checkchange✅packages\fast-build\wasm\microsoft_fast_build.jsand.d.tsincluderender_entry_stream_with_templates✅npm run testwas attempted; it failed in unrelated@microsoft/fast-test-harnessFirefox Playwright tests with timeouts andNS_ERROR_SOCKET_ADDRESS_IN_USEwhile the focused fast-build validations passed.npm run biome:checkwas attempted; on this Windows checkout,biome-changedexits 1 without diagnostics due the Windows.bin\biomeshim resolution/local Git EOL warning. Manual equivalentnode_modules\.bin\biome.cmd check <changed files>passed.✅ Checklist
General
$ npm run change