Skip to content

[wasi][coreCLR] Track out-of-process runtime tests disabled on WASI #136046

Open

Description

@lewing

Out-of-process (RequiresProcessIsolation) runtime tests now run on WASI in the CoreCLR_WASI_RuntimeTests (interpreter) and CoreCLR_WASI_RuntimeTests_R2R_CG2 (composite ReadyToRun) lanes. Previously the merged runners reported them as passed without running them. They use the same host-orchestrated plan/result protocol as browser (#131110). This issue tracks the tests that are still disabled on WASI for a reason other than an existing product issue.

WebAssembly capability gaps (shared with browser, now gated on TargetArchitecture == wasm)

Product failures quarantined in WASI composite ReadyToRun only (#134949)

The interpreter lane still runs these. In R2R they fail with wasm trap: uninitialized element, reached through DelayLoad_MethodCall.

  • Method-level ActiveIssue(IsWasi && IsReadyToRunCompiled): JIT/opt/Compares/compares, JIT/opt/Devirtualization/{GDV_GenericInterface,structreturningstruct}, JIT/opt/GuardedDevirtualization/enumerablecloning, JIT/opt/InstructionCombining/NegMulOrDivToConst (CheckMulNeg), JIT/opt/ObjectStackAllocation/{Runtime_131713,Runtime_134605,Runtime_134605_Struct}, JIT/opt/RangeChecks/ReturnBlockRangeCheckCloning, JIT/opt/Regressions/Regression1_Regressions, Loader/ExternalAssemblyProbe, reflection/Tier1Collectible.
  • R2RIncompatible on WASI (checked-in IL with its own entry point): JIT/Directed/tailcall/tailcall, JIT/Directed/pinning/object-pin, JIT/jit64/regress/vsw/102974/test_102974, Loader/classloader/TSAmbiguities/**/HelloWorld (5), Loader/classloader/MethodImpl/CovariantReturns/UnitTest/UnitTest_GVM, Loader/classloader/explicitlayout/Regressions/ASURT/ASURT150271/test13, reflection/ldtoken/{byrefs,modifiers}.

Infrastructure gaps found and fixed

  • wasmtime does not forward host environment variables. The tests' CLRTestEnvironmentVariables and the DOTNET_*/COMPlus_* settings were never applied to WASI tests, so some ran without their configuration.
  • The WASI ReadyToRun composer inherited the test's DOTNET_GCStress, so composing OSR/pinnedlocal hung.
  • WASI had no per-test corerun relink for tests with native code. It now uses the same corerun-link kit flow as browser, so the callconv tests and object-pin (interpreter) run on WASI.
  • R2R host settings (APP_ASSEMBLIES=EXTERNAL, CORE_LIBRARIES) now take precedence over a test's own environment, because wasmtime keeps the first --env value. Loader/TrustedPlatformAssembliesProperty, which sets APP_ASSEMBLIES=PROPERTY, now skips itself in R2R instead of running without its composite.

Note

This issue was drafted with the help of GitHub Copilot.

Activity

  1. added
    arch-wasm
    area-Infrastructure-coreclr
    os-wasi
    on Oct 19, 2026
  2. dotnet-policy-service commented on Oct 19, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  3. added
    untriaged
    on Oct 19, 2026
  4. removed
    untriaged
    on Oct 19, 2026
  5. added this to the 12.0.0 milestone on Oct 19, 2026
  6. dotnet-policy-service commented on Oct 19, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/runtime-infrastructure
    See info in area-owners.md if you want to be subscribed.

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

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Infrastructureos-wasi

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions