Skip to content

Retire Mono browser/WASI functional CI - #137459

Merged
akoeplinger merged 3 commits into
dotnet:mainfrom
akoeplinger:akoeplinger-mono-wasm-ci-retirement
Nov 13, 2026
Merged

akoeplinger merged 3 commits into
dotnet:mainfrom
akoeplinger:akoeplinger-mono-wasm-ci-retirement

Conversation

@akoeplinger

@akoeplinger akoeplinger commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

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.

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

Copy link
Copy Markdown
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.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival
See info in area-owners.md if you want to be subscribed.

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]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@akoeplinger

Copy link
Copy Markdown
Member Author

/ba-g only unrelated failures on non-wasm jobs or known issues

@akoeplinger
akoeplinger merged commit 8ac60f5 into dotnet:main Nov 13, 2026
173 of 179 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants