test(schedule): remove describe_schedule workaround now that server handles closed schedulers#109
test(schedule): remove describe_schedule workaround now that server handles closed schedulers#109abhishekj720 wants to merge 4 commits into
Conversation
Signed-off-by: abhishek.jha <abhishek.jha@uber.com>
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
Signed-off-by: abhishek.jha <abhishek.jha@uber.com>
CI failed: The `test_create_describe_delete` integration test consistently fails with a `QueryFailedError` because the workflow is queried before it has processed a decision task. This indicates that the recent removal of the workaround in the PR exposed a race condition in the test suite.OverviewAll analyzed CI jobs failed during the FailuresQueryFailedError in
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
What changed?
CreateSchedule
Why?
The workaround was added because DescribeSchedule is backed by a QueryWorkflow call internally, and a freshly created scheduler workflow could transiently fail the query before processing its first decision task.
cadence-workflow/cadence#8065 fixes the server-side handling of scheduler workflow state, with that fix in, the client no longer needs to paper over the error.
How did you test it?
Potential risks
N/A
Release notes
N/A
Documentation Changes
N/A