Repository navigation
Retire Mono browser/WASI functional CI - #137459
Conversation
Preserve existing CoreCLR/NativeAOT jobs and share manual CoreCLR runtime wiring. Decouple CoreCLR WBT from Mono package producers with tooling-only browser test workloads. Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 6 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival |
Set runtime selection in shared test props so referenced browser libraries do not import Mono targets. Honor explicit RuntimeFlavor overrides in local props and add regression coverage. Co-authored-by: Copilot App <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The workload changes leave clean-install Mono browser projects missing required SDK packs and cause bundle assertions to reference a runtime-pack directory that is no longer populated.
2 open issues
What changed in this PR
Retires Mono browser/WASI functional CI while retaining CoreCLR/NativeAOT coverage, CodeQL, and diagnostics. Consolidates CoreCLR browser runtime testing and removes its build tests’ dependency on Mono package producers.
Changes:
- Removes Mono functional test jobs and unused pipeline templates.
- Shares CoreCLR runtime-test wiring between main and manual pipelines.
- Trims test-only browser workloads and adds coverage for CoreCLR selection in referenced libraries.
Full Linux/Windows Wasm.Build.Tests runs and live Azure pipeline expansion remain unverified.
| File | Description |
|---|---|
| src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTests.cs | Tests CoreCLR selection in referenced browser libraries. |
| src/mono/wasm/Wasm.Build.Tests/README.md | Documents CoreCLR CI and workload setup. |
| src/mono/wasm/Wasm.Build.Tests/data/Workloads.Directory.Build.props | Disables Mono for CoreCLR workload tests. |
| src/mono/wasm/Wasm.Build.Tests/data/Local.Directory.Build.props | Disables Mono for local CoreCLR test projects. |
| src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.json.in | Trims browser workloads to tooling and templates. |
| src/coreclr/.nuget/coreclr-packages.proj | Adds shared browser tooling package producers. |
| eng/testing/workloads-browser.targets | Restricts missing runtime-pack generation to Mono. |
| eng/pipelines/runtime.yml | Removes Mono jobs and adopts shared CoreCLR wiring. |
| eng/pipelines/runtime-wasm.yml | Removes the obsolete optional-jobs parameter. |
| eng/pipelines/runtime-wasm-optional.yml | Documents the retained entry point without optional tests. |
| eng/pipelines/runtime-linker-tests.yml | Removes Mono browser trimming tests. |
| eng/pipelines/runtime-extra-platforms.yml | Removes rolling Mono Wasm job inclusion. |
| eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml | Routes manual testing through CoreCLR jobs and producers. |
| eng/pipelines/common/templates/wasm-runtime-tests.yml | Deletes the Mono runtime-test template. |
| eng/pipelines/common/templates/wasm-library-tests.yml | Deletes the Mono library-test template. |
| eng/pipelines/common/templates/wasm-library-aot-tests.yml | Deletes the Mono AOT library-test template. |
| eng/pipelines/common/templates/wasi-wasm-coreclr-runtime-tests.yml | Removes a stale Mono-template reference from a comment. |
| eng/pipelines/common/templates/simple-wasm-build-tests.yml | Deletes the Mono WASI build-test template. |
| eng/pipelines/common/templates/browser-wasm-coreclr-runtime-tests.yml | Adds shared CoreCLR browser runtime-test wiring. |
| eng/pipelines/common/templates/browser-wasm-coreclr-build-tests.yml | Removes Mono artifact dependencies. |
| eng/pipelines/common/templates/browser-wasm-build-tests.yml | Deletes the Mono browser build-test template. |
| eng/pipelines/common/evaluate-default-paths.yml | Removes obsolete Mono runtime-test path routing. |
Review effort: Balanced
Use the resolved runtime pack for publish assertions and preserve explicit CoreCLR selection for satellite-test project references. Co-authored-by: Copilot App <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Removing Mono package producers changes workload installation and CI artifact dependencies, while live Azure template expansion and full Linux/Windows CoreCLR WBT runs remain unverified and require maintainer validation.
No open issues 🎉
2 resolved since last review
Review effort: Balanced
|
/ba-g only unrelated failures on non-wasm jobs or known issues |

Remove Mono browser/WASI functional test jobs while preserving existing CoreCLR/NativeAOT jobs, CodeQL and diagnostics. Share CoreCLR runtime wiring between main and manual pipelines, and trim test-only browser workloads so CoreCLR WBT no longer needs Mono package producers.
Validated shared tooling packages, clean workload installation, one focused WBT test and local pipeline routing. Full Linux/Windows WBT and live Azure expansion remain unverified.
Note
Generated with GitHub Copilot.