Skip to content

Fix flaky tests#125

Merged
torosent merged 4 commits intomicrosoft:mainfrom
andystaples:andystaples/fix-flaky-ci
Mar 27, 2026
Merged

Fix flaky tests#125
torosent merged 4 commits intomicrosoft:mainfrom
andystaples:andystaples/fix-flaky-ci

Conversation

@andystaples
Copy link
Copy Markdown
Contributor

@andystaples andystaples commented Mar 24, 2026

Two bugs in the in-memory backend:

  1. RaiseEvent dispatched work to suspended/terminal orchestrations. Events are now buffered and only delivered when the orchestration is resumed. Terminal orchestrations are also skipped.
  2. WaitForInstanceCompletion/WaitForInstanceStart returned success on timeout. The internal wait could expire before the gRPC deadline, returning exists=False instead of a DEADLINE_EXCEEDED error. The client then returned None instead of raising TimeoutError. Now correctly aborts with DEADLINE_EXCEEDED when the instance exists but the wait times out.

@torosent torosent merged commit a1efaaa into microsoft:main Mar 27, 2026
15 checks passed
@andystaples andystaples deleted the andystaples/fix-flaky-ci branch March 27, 2026 20:12
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