Skip to content

Disable ThreadLocalContinuation_IsContinuation dump test on macOS#127777

Open
Copilot wants to merge 2 commits intomainfrom
copilot/disable-async-continuation-test-macos
Open

Disable ThreadLocalContinuation_IsContinuation dump test on macOS#127777
Copilot wants to merge 2 commits intomainfrom
copilot/disable-async-continuation-test-macos

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

ThreadLocalContinuation_IsContinuation fails on macOS Arm64 because AsyncDispatcherInfo is not present in CoreLib in those dumps, causing an assertion failure before the test logic runs.

Description

Adds [SkipOnOS("osx", ...)] to ThreadLocalContinuation_IsContinuation in AsyncContinuationDumpTests.cs, using the existing SkipOnOSAttribute convention already in use across the DumpTests area. The skip is evaluated at test initialization time via DumpTestBase.InitializeDumpTest against the dump-info.json OS field.

Copilot AI requested review from Copilot and removed request for Copilot May 4, 2026 22:56
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

Copilot AI requested review from Copilot and removed request for Copilot May 4, 2026 22:59
Copilot AI changed the title [WIP] Disable ThreadLocalContinuation_IsContinuation test on macOS Disable ThreadLocalContinuation_IsContinuation dump test on macOS May 4, 2026
Copilot finished work on behalf of hoyosjs May 4, 2026 23:00
Copilot AI requested a review from hoyosjs May 4, 2026 23:00
@hoyosjs hoyosjs marked this pull request as ready for review May 4, 2026 23:07
Copilot AI review requested due to automatic review settings May 4, 2026 23:07
@hoyosjs hoyosjs requested a review from rcj1 May 4, 2026 23:07
@hoyosjs hoyosjs enabled auto-merge (squash) May 4, 2026 23:10
Copy link
Copy Markdown
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 disables a dump-based cDAC integration test (ThreadLocalContinuation_IsContinuation) for macOS dumps, because the required AsyncDispatcherInfo type is not present in CoreLib for those dumps and the test asserts before it can validate the intended behavior.

Changes:

  • Add a SkipOnOS("osx", ...) attribute to skip ThreadLocalContinuation_IsContinuation when the dump metadata OS is osx.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants