Skip to content

Keep the worker running through a Server failover's 500 and 503 - #383

Merged
rmcdaniel merged 3 commits into
mainfrom
general/transient-5xx-retry
Nov 26, 2026
Merged

rmcdaniel merged 3 commits into
mainfrom
general/transient-5xx-retry

Merge branch 'main' into general/transient-5xx-retry

6e3c844
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 26, 2026 in 1m 7s

Annotations

Check warning on line 225 in tests/test_worker_transient_5xx_retry.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=AaIU8bZWFsZeXgpDXChf&open=AaIU8bZWFsZeXgpDXChf&pullRequest=383

Check warning on line 292 in tests/test_worker_transient_5xx_retry.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check failure on line 3528 in src/durable_workflow/worker.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 3579 in src/durable_workflow/worker.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

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

Check warning on line 277 in tests/test_worker_transient_5xx_retry.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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

Check failure on line 382 in src/durable_workflow/worker.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "+00:00" 5 times.

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

Check warning on line 306 in tests/test_worker_transient_5xx_retry.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

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