Skip to content

Keep activity claims through transient lease renewal failures; release an unrenewable claim as worker_lost (#352) - #353

Merged
rmcdaniel merged 4 commits into
mainfrom
general/352-activity-claim-renewal
Nov 20, 2026
Merged

rmcdaniel merged 4 commits into
mainfrom
general/352-activity-claim-renewal

Track activity threads with a race-free guard instead of the future (…

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

Annotations

Check warning on line 1051 in src/durable_workflow/errors.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method "__init__" has 14 parameters, which is greater than the 13 authorized.

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

Check warning on line 471 in tests/test_activity_lease_worker.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=AaH3JPxVQqslI-Q2Fsz3&open=AaH3JPxVQqslI-Q2Fsz3&pullRequest=353

Check warning on line 54 in src/durable_workflow/_activity_lease.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "timeout" parameter and use a timeout context manager instead.

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