Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Jun 29, 2025

Deduplicate issues for missing cross-process named mutex support on NativeAOT and Mono

Closes #70127

Deduplicate issues for missing cross-process named mutex support on NativeAOT and Mono

Closes dotnet#70127
@Copilot Copilot AI review requested due to automatic review settings June 29, 2025 07:59
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 29, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR centralizes the logic for skipping named-mutex tests on platforms without cross-process support and cleans up individual ActiveIssue attributes.

  • Introduces IsCrossProcessNamedMutexSupported to determine when cross-process named mutexes are supported.
  • Replaces scattered [ActiveIssue] attributes with [ConditionalFact] and [ConditionalTheory] driven by the new predicate.
  • Updates GetValidNames to account for platforms lacking cross-process named mutex support.

Copy link
Member

@mangod9 mangod9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jkotas jkotas merged commit a131d0b into dotnet:main Jun 30, 2025
83 of 87 checks passed
@jkotas jkotas deleted the named-mutex branch June 30, 2025 17:18
@github-actions github-actions bot locked and limited conversation to collaborators Jul 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ctor_InvalidNames_Unix is failing on NativeAOT on Linux

3 participants