Skip to content

Let Python continue on the promoted workflow build - #373

Merged
rmcdaniel merged 2 commits into
mainfrom
general/sdkpython880-promoted-build
Nov 23, 2026
Merged

rmcdaniel merged 2 commits into
mainfrom
general/sdkpython880-promoted-build

Negotiate continue-as-new targeting for the registered worker scope

5e74ffa
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 23, 2026 in 52s

Annotations

Check failure on line 6428 in src/durable_workflow/client.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 1156 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 "invalid_target_build: use the exact inherited or promoted target" 3 times.

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

Check warning on line 34 in src/durable_workflow/_continue_as_new.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use concise character class syntax '\d' instead of '[0-9]'.

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

Check warning on line 105 in tests/test_continue_as_new_target.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=AaIJHDL_n2VTrPuIeJW7&open=AaIJHDL_n2VTrPuIeJW7&pullRequest=373