Skip to content

Fix flaky TestTransitionDuringTransientTask* and Test_DeleteVersion_QueryAfterDeletion#9819

Merged
carlydf merged 3 commits intotemporalio:mainfrom
ShahabT:flakes
Apr 13, 2026
Merged

Fix flaky TestTransitionDuringTransientTask* and Test_DeleteVersion_QueryAfterDeletion#9819
carlydf merged 3 commits intotemporalio:mainfrom
ShahabT:flakes

Conversation

@ShahabT
Copy link
Copy Markdown
Contributor

@ShahabT ShahabT commented Apr 3, 2026

Summary

  • Fix flakes for Test_DeleteVersion_QueryAfterDeletion by putting the query step in the OnComplete of delete step to ensure their order.
  • Fix TestTransitionDuringTransientTask by ensuring polling keep happening until TQ registration is complete. Extracted a helper called pollUntilRegistered and used in all places that could benefit from the improvement.

@ShahabT ShahabT requested review from a team as code owners April 3, 2026 23:09
@carlydf carlydf merged commit 9dd5cbd into temporalio:main Apr 13, 2026
46 checks passed
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