Skip to content

Replay timed conditions in durable input order in the Python SDK - #375

Merged
rmcdaniel merged 4 commits into
mainfrom
general/sdk-python230-condition-selection
Nov 23, 2026
Merged

rmcdaniel merged 4 commits into
mainfrom
general/sdk-python230-condition-selection

Add checked replay evidence for approval before a fired timer

80b4044
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 23, 2026 in 1m 9s

Annotations

Check failure on line 72 in src/durable_workflow/_condition_input_order.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 57 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-python&issues=AaIKsTqePWUT3T_M538a&open=AaIKsTqePWUT3T_M538a&pullRequest=375

Check failure on line 8464 in src/durable_workflow/workflow.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "wait_condition predicate raised" 4 times.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-python&issues=AaIKuTCop41A3KPnYV5C&open=AaIKuTCop41A3KPnYV5C&pullRequest=375

Check warning on line 59 in tests/test_ordered_condition_input.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this composite assertion into separate assertions.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-python&issues=AaIKsTqfPWUT3T_M538b&open=AaIKsTqfPWUT3T_M538b&pullRequest=375

Check warning on line 65 in tests/test_ordered_condition_input.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this composite assertion into separate assertions.

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-python&issues=AaIKsTqfPWUT3T_M538c&open=AaIKsTqfPWUT3T_M538c&pullRequest=375

Check warning on line 2007 in src/durable_workflow/workflow.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "task_queue".

See more on https://sonarcloud.io/project/issues?id=durable-workflow_sdk-python&issues=AaIKsTlfPWUT3T_M538Z&open=AaIKsTlfPWUT3T_M538Z&pullRequest=375