Repository navigation
[browser] Make withConfigLoaded additive - #137066
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 12 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 'arch-wasm': @lewing, @pavelsavara |
pavelsavara
approved these changes
Nov 6, 2026
maraf
marked this pull request as ready for review
November 6, 2026 16:15
Member
Author
|
/ba-g Failures are unrelated. Build Analysis matched the canceled osx-arm64 Libraries_CheckedCoreCLR job to the known macOS 60-minute timeout issue (dotnet/dnceng#1883). The Monitor Helix Jobs check also failed, but reported no Helix work-item failures or error details. No failures were correlated with this PR's changed files. Note This comment was generated with the assistance of GitHub Copilot. |
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
Make
withConfigLoadedregistrations additive in both the CoreCLR and Mono browser loaders. Callbacks run sequentially in registration order, each awaited, using a snapshot so registrations made during invocation do not run in that invocation. Passingundefinedis a no-op. LegacyonConfigLoadedconfiguration retains its existing replacement behavior.Add a focused Wasm.Build.Tests browser regression that checks registration order and asynchronous completion.
Validation
cd src/native && npm run lint- passedcd src/native && npm run rollup:debug- passedcd src/mono/browser/runtime && npm run lint- passedConfiguration=Debug NativeBinDir=../../../../artifacts/obj/config-loaded/mono WasmObjDir=../../../../artifacts/obj/config-loaded/mono npm run rollup(fromsrc/mono/browser/runtime) - passedNote
This PR description was generated with the assistance of GitHub Copilot.