Repository navigation
Enable browser CoreCLR interpreter tests disabled under #123011, re-disabling those with real platform limits - #130765
Merged
Conversation
Co-authored-by: pavelsavara <[email protected]>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 12 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
pavelsavara
temporarily deployed
to
copilot-pat-pool
July 15, 2026 10:19 — with
GitHub Actions
Inactive
pavelsavara
temporarily deployed
to
copilot-pat-pool
July 15, 2026 10:20 — with
GitHub Actions
Inactive
Contributor
|
Tagging subscribers to this area: @dotnet/interop-contrib |
pavelsavara
temporarily deployed
to
copilot-pat-pool
July 15, 2026 13:56 — with
GitHub Actions
Inactive
pavelsavara
temporarily deployed
to
copilot-pat-pool
July 15, 2026 13:57 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
Re-enables (or retargets) a set of library test cases that were previously blanket-disabled for the browser CoreCLR bring-up, aiming to separate now-passing tests from genuine platform limitations (e.g., interpreter / single-threaded WASM / COM).
Changes:
- Removes
[ActiveIssue(...#123011... IsBrowser && IsCoreCLR)]from many tests to allow them to run on browser CoreCLR again. - Replaces some browser CoreCLR skips with more specific gating (e.g.,
IsMultithreadingSupported,IsCoreClrInterpreter) and permanent skips where appropriate (SkipOnPlatform(TestPlatforms.Browser)for COM). - Adds/updates a few comments to document why specific tests remain disabled.
Reviewed changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/libraries/System.Runtime/tests/System.Runtime.Tests/System/Runtime/CompilerServices/RuntimeFeatureTests.cs | Retargets dynamic-code JIT expectation skip to CoreCLR interpreter specifically. |
| src/libraries/System.Runtime/tests/System.Runtime.Tests/System/Reflection/ModuleTests.cs | Keeps browser CoreCLR skip for Module name/FQN and adds rationale comments. |
| src/libraries/System.Runtime/tests/System.Runtime.Tests/System/GCTests.cs | Re-enables several GC finalizer/KeepAlive tests for browser CoreCLR. |
| src/libraries/System.Runtime/tests/System.Runtime.Tests/System/DateTimeTests.cs | Re-enables DateTime ISerializable test previously skipped on browser CoreCLR. |
| src/libraries/System.Runtime/tests/System.Runtime.Extensions.Tests/System/EnvironmentTests.cs | Keeps browser CoreCLR skip for GetFolderPath Unix non-empty assertions, with rationale comment. |
| src/libraries/System.Runtime/tests/System.Dynamic.Runtime.Tests/Dynamic.Context/Conformance.dynamic.context.property.autoproperty.regclass.cs | Removes browser CoreCLR blanket skip from a dynamic conformance test. |
| src/libraries/System.Runtime/tests/System.Dynamic.Runtime.Tests/Dynamic.Context/Conformance.dynamic.context.operator.regclass.cs | Removes browser CoreCLR blanket skips from dynamic operator conformance tests. |
| src/libraries/System.Runtime/tests/System.Dynamic.Runtime.Tests/Dynamic.Context/Conformance.dynamic.context.method.genmethod.regclass.cs | Removes browser CoreCLR blanket skip from a dynamic generic-method conformance test. |
| src/libraries/System.Runtime/tests/System.Dynamic.Runtime.Tests/Dynamic.Context/Conformance.dynamic.context.indexer.regclass.cs | Removes browser CoreCLR blanket skip from a dynamic indexer conformance test. |
| src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/Marshal/ReleaseTests.cs | Converts browser CoreCLR skip into an explicit Browser COM unsupported skip. |
| src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/Marshal/QueryInterfaceTests.cs | Converts browser CoreCLR skip into an explicit Browser COM unsupported skip for QueryInterface tests. |
| src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/Marshal/AddRefTests.cs | Converts browser CoreCLR skip into an explicit Browser COM unsupported skip for AddRef tests. |
| src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/ComVariantMarshallerTests.cs | Adds explicit Browser COM unsupported skips for generated COM interface marshalling tests. |
| src/libraries/System.Net.Requests/tests/ServicePointTests/TlsSystemDefault.cs | Re-enables ServicePointManager TLS default tests for browser CoreCLR. |
| src/libraries/System.Net.Requests/tests/ServicePointTests/ServicePointManagerTest.cs | Re-enables ServicePointManager test suite for browser CoreCLR. |
| src/libraries/System.IO.Compression.ZipFile/tests/ZipFile.Unix.cs | Re-enables Unix permission-related ZipFile tests for browser CoreCLR. |
| src/libraries/System.Data.Common/tests/System/Data/Common/DbConnectionTests.cs | Re-enables GC/finalization-related DbConnection test for browser CoreCLR. |
| src/libraries/System.Data.Common/tests/System/Data/Common/DbCommandTests.cs | Re-enables GC/finalization-related DbCommand test for browser CoreCLR. |
| src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs | Removes browser CoreCLR skip and instead gates finalization test on multithreading support. |
| src/libraries/System.Collections/tests/Generic/HashSet/HashSet.NonGeneric.Tests.cs | Re-enables a HashSet serialization-related test for browser CoreCLR. |
| src/libraries/System.Collections/tests/Generic/Dictionary/HashCollisionScenarios/OutOfBoundsRegression.cs | Re-enables hash-collision regression tests for browser CoreCLR. |
| src/libraries/System.Collections.Concurrent/tests/ConcurrentQueueTests.cs | Re-enables selected ConcurrentQueue tests for browser CoreCLR. |
| src/libraries/Microsoft.VisualBasic.Core/tests/Microsoft/VisualBasic/FileIO/FileSystemTests.cs | Re-enables VB FileSystem current directory tests for browser CoreCLR. |
| src/libraries/Microsoft.Extensions.Logging.Abstractions/tests/Microsoft.Extensions.Logging.Generators.Tests/LoggerMessageGeneratorIncrementalTests.cs | Re-enables incremental generator tests for browser CoreCLR. |
| src/libraries/Microsoft.Extensions.DependencyInjection/tests/DI.Tests/ServiceProviderCompilationTest.cs | Replaces browser CoreCLR skip with IsMultithreadingSupported gating due to thread usage. |
pavelsavara
marked this pull request as ready for review
July 15, 2026 17:18
|
Azure Pipelines: Successfully started running 3 pipeline(s). 12 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
radekdoulik
approved these changes
Jul 15, 2026
Member
|
/ba-g unrelated failures |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests across ~19 libraries suites were blanket-disabled with
[ActiveIssue(#123011)]onIsBrowser && IsCoreCLRto bootstrap the new browser CoreCLR platform. This removes all 43 occurrences of that attribute, then re-disables only the tests that genuinely fail on the browser CoreCLR interpreter — each with a tighter, root-cause-specific gate instead of the blanket attribute. Tests that now pass stay enabled.Changes
[ActiveIssue(#123011)]occurrences across 25 files / ~19 test projects (removed only the [browser][coreCLR] temporarily disabled tests #123011 attribute; unrelatedActiveIssueattributes preserved).[SkipOnPlatform]/[Conditional*]/ narrower[ActiveIssue]conditions) and root-cause comments.Kept enabled (verified passing on the browser CoreCLR interpreter)
System.Runtime.TestsGCTests:Collect_CallsFinalizer,KeepAlive,KeepAlive_Null,ReRegisterForFinalizeSystem.Runtime.TestsDateTimeTests.GetObjectData_Invoke_ReturnsExpectedSystem.Collections.Concurrent.Tests(both) andSystem.Data.Common.Tests(both) — suites cleanSystem.Collections,HashSet,Microsoft.VisualBasic.Core,System.IO.Compression.ZipFile,System.Net.Requests,Microsoft.Extensions.Logging.Generators,System.Dynamic.Runtime, …) pass.Re-disabled — real platform limitations
ServiceProviderCompilationTest.CompilesInLimitedStackSpace(×5)[ConditionalTheory(IsMultithreadingSupported)]Thread.StartthrowsPlatformNotSupportedExceptionon single-threaded wasmBackgroundWorkerTests.TestFinalizationIsMultithreadingSupportedto the existing[ConditionalFact]ManualResetEventSlim.Wait(timeout)requires multithreadingAddRefTests.AddRef_ValidPointer_Success,ReleaseTests.Release_ValidPointer_Success,QueryInterfaceTests.QueryInterface_ValidInterface_Success/QueryInterface_NoSuchInterface_Success,ComVariantMarshallerTests.GeneratedComInterfaceType_Marshals_To_UNKNOWN/UnknownWrapper_Of_GeneratedComInterfaceType_Marshals_To_UNKNOWN[SkipOnPlatform(TestPlatforms.Browser)]ComWrappersis not supported on WebAssemblySystem.Runtime.Intrinsics.Wasm.Tests.PackedSimdTests(whole class)[ActiveIssue(#123011, IsBrowser, IsCoreCLR)]PackedSimd.IsSupportedisfalseand every op throws PNSERuntimeFeatureTests.DynamicCode_Jit[ActiveIssue(#123011, IsCoreClrInterpreter)]RuntimeFeature.IsDynamicCodeCompiledisfalseModuleTests.Name,ModuleTests.FullyQualifiedName[ActiveIssue(#123011, IsBrowser, IsCoreCLR)]Module.Name/FullyQualifiedNameis<Unknown>EnvironmentTests.GetFolderPath_Unix_NonEmptyFolderPaths[ActiveIssue(#123011, IsBrowser, IsCoreCLR)]Environment.GetFolderPath(CommonApplicationData)returns an empty string on browser (no folder mapping)Validation
Validated on CI in the
browser-wasm linux Release LibraryTestsCoreCLRleg (Helix jobWasmTestOnChrome-CLR-ST, which exercises the CoreCLR interpreter). The re-disabled set above corresponds exactly to the tests that failed there; all other re-enabled tests pass.Note
This PR description was generated with the assistance of AI (GitHub Copilot).