Repository navigation
Open
Labels
Milestone
Description
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)
-
JIT/opt/GuardedDevirtualization/badinlinee: needs tiered rejit with guarded devirtualization; WebAssembly has no JIT ([ci-scan] Test failure: JIT/opt/GuardedDevirtualization/badinlinee on browser wasm checked #134169). -
Loader/AssemblyDependencyResolver/AssemblyDependencyResolverTests:AssemblyDependencyResolverthrowsPlatformNotSupportedExceptionand there is no host policy. -
Loader/AssemblyDependencyResolver/MissingHostPolicyTests: same as above. -
JIT/Directed/debugging/debuginfo/tester: starts a process and needs JIT/interpreter debug maps ([browser][coreCLR] Track disabled OOP runtime tests pending browser support #131321). -
Loader/NativeLibs/FromNativePaths:CORE_LIBRARIESand path-based native loading ([browser][coreCLR] Track disabled OOP runtime tests pending browser support #131321).
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. R2RIncompatibleon 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 theDOTNET_*/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 composingOSR/pinnedlocalhung. - WASI had no per-test corerun relink for tests with native code. It now uses the same
corerun-linkkit flow as browser, so the callconv tests andobject-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--envvalue.Loader/TrustedPlatformAssembliesProperty, which setsAPP_ASSEMBLIES=PROPERTY, now skips itself in R2R instead of running without its composite.
Note
This issue was drafted with the help of GitHub Copilot.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Oct 19, 2026
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Oct 19, 2026
Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.
Run out-of-process runtime tests on WASI (#136047)