Skip to content

[ci] Use CoreCLR for WebAssembly trimming checks - #69642

Merged
kotlarmilos merged 1 commit into
dotnet:mainfrom
kotlarmilos:dev/kotlarmilos/mono-pack-removal
Oct 2, 2026
Merged

kotlarmilos merged 1 commit into
dotnet:mainfrom
kotlarmilos:dev/kotlarmilos/mono-pack-removal

Conversation

@kotlarmilos

Copy link
Copy Markdown
Member

Description

This PR switches WasmLinkerTest to the CoreCLR runtime pack and keeps the existing trimming coverage.

Contributes to dotnet/runtime#134397.

Note

Prepared with GitHub Copilot.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 9170c669-e132-46bb-8258-e448425535d6
Copilot AI balanced review requested due to automatic review settings October 2, 2026 09:12
@kotlarmilos
kotlarmilos requested a review from a team as a code owner October 2, 2026 09:12
@github-actions github-actions Bot added the area-blazor Includes: Blazor, Razor Components label Oct 2, 2026

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.

Copilot review overview

🔵 Needs a closer look

CoreCLR runtime-pack resolution and successful execution of the existing trimming checks remain unverified.

Review effort: Balanced
Findings: None

What changed in this PR

Switches the WasmLinkerTest test asset to CoreCLR for WebAssembly trimming checks, supporting dotnet/runtime#134397.

Changes:

  • Sets UseMonoRuntime to false, leaving the existing trimming configuration unchanged.
File Description
src/​Components/​WebAssembly/​testassets/​WasmLinkerTest/​WasmLinkerTest.csproj Selects CoreCLR instead of Mono.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@akoeplinger akoeplinger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Verified build 1620906 for this revision: Test: Ubuntu x64 → Run build.sh executed WasmLinkerTest’s ILLinkTrimWasmProjects target and ILLink task successfully. The binlog confirms ILLink referenced Microsoft.NETCore.App.Runtime.browser-wasm 12.0.0-alpha.1.26473.114 (CoreCLR) and used the wasm-linked output directory.

@kotlarmilos
kotlarmilos merged commit cb9cc89 into dotnet:main Oct 2, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants