Repository navigation
Keep the worker running through a Server failover's 500 and 503 - #383
Quality Gate passed
Annotations
Check warning on line 225 in tests/test_worker_transient_5xx_retry.py
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
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
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
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
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
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
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