Repository navigation
[browser] Add scoped WebAssembly review guidance - #138148
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 1 pipeline(s). 14 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
akoeplinger
approved these changes
Nov 24, 2026
Co-authored-by: Copilot App <[email protected]>
akoeplinger
approved these changes
Nov 25, 2026
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.
Summary
Add focused WebAssembly review guidance based on recurring PR feedback, without expanding global repository instructions.
docs/workflow/wasm-review.md, covering SDK/workload/in-tree ownership, configuration consumers, native build bridges, incremental outputs and Static Web Assets.Documentation only; no product code, test implementation or public API changes.
Independent historical-review validation
Four fresh sessions reviewed two merged PRs: one baseline and one new-guidance reviewer per PR. Each reviewed the exact source head attached to the original feedback, not the final merged code. Original comments, expected findings and counterpart results were withheld from reviewers; their first-pass responses were saved and hashed before comparison.
1e6c03358c1575baaf29538bf630ab0647a16bebd9f1d954190aa89869e920bbf7b98f9324862240Scoring criteria were fixed before launch: 1 for a specific actionable equivalent to the original feedback, 0.5 for an incomplete equivalent, and 0 for absent or generic advice. These measure feedback agreement, not production-defect counts. Original feedback was published by the reviewer's account; some comments explicitly disclose Copilot assistance.
The baseline asset recommendation moved the program into a replacement fixture; the guided recommendation used a shared application scenario, matching the original follow-up more closely. Both arms missed the SDK manifest synchronization. The relevant equivalent SDK gate was subsequently verified in version-pinned source, not by executing the historical SDK.
Both native reviews also found the supported DLL-named R2R output being excluded by an extension filter and incomplete all-image stamp assertions; these common findings are not credited as guidance uplift. Guided output was not a strict superset: baseline-only advice included preserving the first build's binlog and adding independent alignment-rewriter regression tests.
Limitations
This is a small retrospective comparison on two cases used to derive the guidance, not a held-out, randomized or causal demonstration of general improvement. The coordinator knew the treatment arms; inherited instructions, temporally newer contributor docs, skill availability and probe use were not fully controlled. Reviewers explicitly consumed the new Markdown content, so automatic instruction-router activation was not tested. No full historical SDK/browser/toolchain scenario was reproduced, and no zero-false-positive rate is claimed.
Validation
git diff --check— passed.npm exec --yes --package markdownlint-cli -- markdownlint .github/instructions/wasm.instructions.md docs/workflow/wasm-review.md src/mono/wasm/Wasm.Build.Tests/README.md docs/workflow/wasm-documentation.md— passed with repository configuration.Note
This PR description was generated with the assistance of GitHub Copilot.