Skip to content

Remove obsolete runtime categories from WBT - #138425

Merged
akoeplinger merged 2 commits into
mainfrom
akoeplinger-remove-wbt-coreclr-tags
Nov 27, 2026
Merged

akoeplinger merged 2 commits into
mainfrom
akoeplinger-remove-wbt-coreclr-tags

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Summary

  • Remove all obsolete TestCategory("coreclr") attributes from WebAssembly Build Tests, since CoreCLR is now the default and only active WBT runtime.
  • Delete 21 high-confidence Mono-only test methods and five orphaned test assets that exercised removed Mono generator, interpreter-PGO, profiler, or AOT compiler behavior.
  • Retain 16 Mono-tagged scenarios that are tracked coverage gaps or may have CoreCLR native-relink/ReadyToRun equivalents; each now has a TODO-WASM link to [browser][CoreCLR] Track remaining WBT coverage gaps #135046.

Removed Mono-only coverage

  • Generator behavior: removed the Mono-only variadic P/Invoke warning test, fake marker-type blittability test, and same-assembly callback diagnostic that CoreCLR delegates to Roslyn/runtime. The tracked AutoLayout scenario remains.
  • Interpreter/profiler behavior: removed the Mono automatic interpreter-PGO cache test and its managed/JavaScript fixture, plus the Mono AOT CPU-sampling permutation. CoreCLR EventPipe interpreter-PGO and ReadyToRun CPU-sampling coverage remains.
  • Mono AOT/compiler regressions: removed compile-only COM and UnmanagedCallConv Mono AOT tests, Mono AOT diagnostic tests, and AOT-only duplicates for main methods, globalization/timezone, native libraries, SIMD/ABI, and build/publish scenarios where non-AOT native-relink or ReadyToRun coverage remains.

Validation

  • ./dotnet.sh build ./src/mono/wasm/Wasm.Build.Tests/Wasm.Build.Tests.csproj -c Release -p:TargetOS=browser -p:TargetArchitecture=wasm -p:TestUsingWorkloads=false — passed with 0 warnings and 0 errors.
  • Full-tree check: 0 TestCategory("coreclr") attributes; 16 remaining TestCategory("mono") attributes and 16 adjacent [browser][CoreCLR] Track remaining WBT coverage gaps #135046 TODOs; no missing TODOs.
  • Generated CoreCLR WBT job list contains no removed InterpPgoTests work item.
  • Searches found no references to the deleted test assets or JavaScript scenario.
  • git diff --check origin/main...HEAD — passed.

The WBT project and generated Helix class list were built locally; browser/Helix tests were not executed.

Relates to #135046

Note

This pull request description was generated with GitHub Copilot.

akoeplinger and others added 2 commits November 27, 2026 16:11
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@akoeplinger
akoeplinger enabled auto-merge (squash) November 27, 2026 17:30
@akoeplinger
akoeplinger merged commit 5b65c8d into main Nov 27, 2026
35 checks passed
@akoeplinger
akoeplinger deleted the akoeplinger-remove-wbt-coreclr-tags branch November 27, 2026 18:24
pavelsavara added a commit that referenced this pull request Dec 1, 2026
Resolve conflicts with the WASMARCH predicate rename (#138190) and the
removal of runtime categories from WBT (#138425): keep the R2R
interface LDVIRTFTN marking under TARGET_WASMARCH, and use plain
Theory/Fact without the coreclr category for the PGO WBT tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

2 participants