Skip to content

Expose acknowledged activity heartbeat checkpoints - #333

Merged
rmcdaniel merged 2 commits into
mainfrom
sdk-python/218-acknowledged-checkpoint
Nov 14, 2026
Merged

rmcdaniel merged 2 commits into
mainfrom
sdk-python/218-acknowledged-checkpoint

Declare heartbeat resume in base worker capabilities

97b07b0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 14, 2026 in 1m 7s

Annotations

Check warning on line 83 in src/durable_workflow/activity.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type hint "InitVar[Optional[str]]" with "Optional[InitVar[Optional[str]]]" or don't assign "None" to "task_namespace"

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

Check warning on line 45 in src/durable_workflow/_activity_checkpoint.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this alternation with a character class.

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

Check failure on line 91 in src/durable_workflow/_activity_checkpoint.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 136 in tests/test_activity_checkpoint.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=AaHaAqExoCt6TAww6Tje&open=AaHaAqExoCt6TAww6Tje&pullRequest=333

Check warning on line 70 in tests/test_activity_checkpoint.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=AaHaAqExoCt6TAww6Tjc&open=AaHaAqExoCt6TAww6Tjc&pullRequest=333

Check warning on line 73 in tests/test_activity_checkpoint.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=AaHaAqExoCt6TAww6Tjd&open=AaHaAqExoCt6TAww6Tjd&pullRequest=333