Skip to content

test: add wait-strategy cases (6-5, 6-6)#572

Merged
yaythomas merged 1 commit into
mainfrom
feature/python-conformance-wfc-wait-strategy
Jul 23, 2026
Merged

test: add wait-strategy cases (6-5, 6-6)#572
yaythomas merged 1 commit into
mainfrom
feature/python-conformance-wfc-wait-strategy

Conversation

@wangyb-A

@wangyb-A wangyb-A commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the two wait_for_condition cases that exercise the SDK's built-in wait strategy (create_wait_strategy), completing the suite's requirement coverage (6-1..6-13):

  • 6-5 WaitForConditionFixedDelay — fixed-delay strategy (2s, no jitter/backoff); each continue decision should checkpoint an intermediate StepSucceeded with NextAttemptDelaySeconds: 2, suspend, and re-poll until the threshold is met (execution SUCCEEDED, result 3)
  • 6-6 WaitForConditionMaxAttempts — strategy capped at 3 attempts with a never-satisfied condition; after two continue checkpoints the third poll should raise max-attempts-exceeded and checkpoint a terminal StepFailed (execution FAILED)

Expected to fail until #530 is done

@wangyb-A
wangyb-A force-pushed the feature/python-conformance-wfc-wait-strategy branch 2 times, most recently from c5260f5 to 0f257df Compare July 22, 2026 23:55
Adds the 6-5 fixed-delay and 6-6 max-attempts-exceeded
wait_for_condition cases, completing the suite (6-1..6-13). Both use
the SDK's built-in create_wait_strategy and are KNOWN to fail on the
current Python SDK: the first continue checkpoint is recorded as
StepFailed instead of StepSucceeded, failing the execution immediately
(one shared root cause). The red conformance (wait_for_condition) job
is the intended divergence signal, to be resolved by an SDK fix.
@yaythomas
yaythomas force-pushed the feature/python-conformance-wfc-wait-strategy branch from 0f257df to f7ba6ef Compare July 23, 2026 04:19
@yaythomas
yaythomas marked this pull request as ready for review July 23, 2026 04:19
@yaythomas
yaythomas merged commit 1c80cd5 into main Jul 23, 2026
17 of 23 checks passed
@yaythomas
yaythomas deleted the feature/python-conformance-wfc-wait-strategy branch July 23, 2026 04:20
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