Skip to content

Follow up on runtime-test cleanup opportunities #137921

Closed

Description

@akoeplinger

PR #137906 identified several runtime-test follow-ups that are intentionally outside the cleanup PR's scope:

  • Audit and remove stale RequiresProcessIsolation markers (and related AllowUnsafeBlocks settings where unused) after Mono-only gating metadata was removed. High-confidence candidates from a full semantic sweep:
    • Type equivalence:
      • src/tests/baseservices/typeequivalence/simple/Simple.csproj
      • src/tests/baseservices/typeequivalence/istypeequivalent/istypeequivalent.csproj
      • Discussions: Pavel, Michal
    • GC API tests whose sole documented reason was the removed Mono CLRTestTargetUnsupported condition:
      • src/tests/GC/API/Frozen/Frozen.csproj
      • src/tests/GC/API/GC/Collect_Aggressive.csproj
      • src/tests/GC/API/GC/Collect_Aggressive_MultipleParameters.csproj (discussion)
      • src/tests/GC/API/GC/GetTotalPauseDuration.csproj (discussion)
      • src/tests/GC/API/NoGCRegion/Callback.csproj (discussion)
    • Hardware-intrinsic tests where isolation was introduced with MonoAotIncompatible, unlike equivalent sibling projects:
      • src/tests/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_r.csproj
      • src/tests/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_ro.csproj
      • src/tests/JIT/HardwareIntrinsics/X86/X86Base/Pause_r.csproj
      • src/tests/JIT/HardwareIntrinsics/X86/X86Base/Pause_ro.csproj (discussion)
    • JIT Methodical IL tests created with MonoAotIncompatible and isolation together:
      • src/tests/JIT/Methodical/ELEMENT_TYPE_IU/u_conv_r.ilproj
      • src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_d.ilproj
      • src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_r.ilproj
    • src/tests/Regressions/coreclr/15647/interfacestatics.ilproj, whose documented reason was the removed Mono CLRTestTargetUnsupported condition (discussion)
    • Lower-confidence pre-existing candidates exposed by the sweep: src/tests/baseservices/varargs/varargsupport.ilproj and varargsupport_r.ilproj; their comments already say isolation may not be needed, but the marker predates the removed Mono gate.
  • Retain or port the Android CrashChaining functional test for CoreCLR and add appropriate CI coverage. The test appears useful and not inherently Mono-specific. Review discussion
  • Restore or port tvOS.Simulator.PInvoke.Test for CoreCLR and add a tvOS-simulator CoreCLR CI lane or another suitable coverage path. Review discussion
  • Reexamine the Apple-mobile functional-test DynamicCodeSupport default, especially for CoreCLR interpreter scenarios, and determine whether the SDK should select the default. Review discussion

The isolation sweep reviewed all 175 projects where #137906 removed Mono-specific gating while RequiresProcessIsolation survived. Projects with independent requirements—such as CMake/native assets, environment variables, expected crashes, NativeAOT/Crossgen filtering, WASI R2RIncompatible, or per-project Crossgen2 arguments—were excluded from the high-confidence list.

These items were collected from resolved review threads and the post-merge audit so they remain tracked after #137906.

Note

This issue was generated with GitHub Copilot.

Activity

  1. self-assigned this
    on Nov 19, 2026
  2. added
    untriaged
    on Nov 19, 2026
  3. removed
    untriaged
    on Nov 19, 2026
  4. dotnet-policy-service commented on Nov 19, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke
    See info in area-owners.md if you want to be subscribed.

  5. added this to the 12.0.0 milestone on Nov 19, 2026
  6. added a commit that references this issue on Nov 21, 2026
    6ecb8d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions