Skip to content

Make cancellation test deterministic - #41

Merged
AnganSamadder merged 2 commits into
mainfrom
test/deterministic-cancellation
Aug 27, 2026
Merged

Make cancellation test deterministic#41
AnganSamadder merged 2 commits into
mainfrom
test/deterministic-cancellation

Conversation

@AnganSamadder

Copy link
Copy Markdown
Owner

Fixes the Xcode Cloud-only race in AsyncCancellationTests.test_taskCancellation_beforeExecution_detectsCancellation.

The test now suspends behind an explicit gate, waits until suspension, cancels, then releases the task before asserting CancellationError. No production code changes.

Validation:

  • Exact selector: 1/1 passed
  • Stress: 20/20 passed
  • Owning suite: 16/16 passed
  • Beta Release for app build 0.1.18 (133): Test, Analyze, Archive all green

Copilot AI lite review requested due to automatic review settings August 26, 2026 23:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payback Ready Ready Preview Aug 27, 2026 1:46am

@AnganSamadder
AnganSamadder merged commit a990222 into main Aug 27, 2026
11 checks passed
@AnganSamadder
AnganSamadder deleted the test/deterministic-cancellation branch September 4, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants