Skip to content

[browser][coreclr] Queue startup resources before loading - #135482

Draft
maraf wants to merge 3 commits into
dotnet:mainfrom
maraf:maraf/stable-coreclr-asset-queue
Draft

maraf wants to merge 3 commits into
dotnet:mainfrom
maraf:maraf/stable-coreclr-asset-queue

Conversation

@maraf

@maraf maraf commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Queue and count CoreCLR browser startup resources upfront so download progress reports a stable total after configuration initializers finish. Preserve existing loading order, network throttling, retries, and deferred loading.

Initializers still run first because they can change resource selection; their progress and later lazy loads can increase the total. HTTP-cache-only prefetch is unchanged, and download-into-memory and subsequent create phases are counted separately.

Add an internal queue-computed hook and a CoreCLR test asset guard that checks stable totals and completion, with a regression test verifying the guard detects unexpected growth.

Note

This PR description was generated with the assistance of GitHub Copilot.

Count queued assets before starting the post-configuration startup phase while preserving existing loading order, network throttling, retries, and deferred loading. Add an internal queue-computed hook and a CoreCLR test asset guard for stable phase totals, including a regression test for the guard.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@maraf maraf self-assigned this Oct 9, 2026
@maraf maraf added area-Build-mono os-browser Browser variant of arch-wasm wasm-aot-test WebAssembly AOT Test labels Oct 9, 2026
@maraf maraf added this to the 12.0.0 milestone Oct 9, 2026
@maraf maraf changed the title [browser] Queue CoreCLR startup resources before loading [browser][coreclr] Queue startup resources before loading Oct 9, 2026
Preserve upstream callback migration and readiness checks alongside startup queue accounting and its test guard.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Build-mono os-browser Browser variant of arch-wasm wasm-aot-test WebAssembly AOT Test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants