Skip to content

Review Python SDK 2.24.0 package evidence - #387

Merged
rmcdaniel merged 1 commit into
mainfrom
general/sdk-python-2.24.0-evidence
Nov 26, 2026
Merged

rmcdaniel merged 1 commit into
mainfrom
general/sdk-python-2.24.0-evidence

Conversation

@rmcdaniel

Copy link
Copy Markdown
Member

Records the exact Python 2.24.0 wheel and sdist from the build-only run (attempt 1) at e1e27687 (#386). That commit is current main, tree 46505017.

Verified. The artifact dist-handoff.tar (15109030352) downloads with SHA-256 9b0ae636…, equal to its API digest. It contains the wheel 00daa9e0… and the sdist cfdf43d0…. 2.24.0 is not on PyPI. The repository's own promote_release.py resolve --version 2.24.0 passes against this commit, and extract accepts the downloaded tar and reproduces both digests.

Native qualification. This release has new code since 2.23.1 (#380–#385), so I tested the exact wheel instead of arguing code identity. The wheel was installed in a fresh python:3.12 venv (3.12.16) from local files only, and all 65 RECORD hashes matched. It ran against a disposable native Server 3.30.0: index ghcr.io/durable-workflow/server@sha256:b7bb6007e2cfeb76823fdaf497e279656e3d10cf441c735b7181c72f698087bd, executed linux/amd64 manifest sha256:34d478ddd30be0415b8148073708fcce7b482dd662eeb858eaae353b9cf1de31. /api/cluster/info reported 3.30.0, worker protocol 1.20, and timeout_cleanup {supported: true, version: 1}. The Server used SQLite on tmpfs, on an internal Docker network, with real Worker.run() pollers. All 22 checks passed:

Case Result
ctx.replay_now() read at workflow entry, before any durable step Equals the run's started_at (10:48:12.782000Z)
Query of that workflow (server#1338) Answers with the entry value, before and after completion
Update with a validator on that workflow touch(2) validates and completes; touch(-1) gets UpdateRejected with the validator's message
Activity, signal, query and update lifecycle Activity result is seen by the query, the signal is delivered, and the run completes with the expected output
Cooperative worker registration Lists timeout_cleanup, manifest {supported: true, minimum_protocol_version: "1.20", version: 1}
Opt-in start on a queue with only a non-cooperative worker 422 timeout_cleanup_not_supported (InvalidArgument in the SDK)
Opt-in starts on the cooperative queue (5) Admitted
Cleanup returns after a shielded timer WorkflowTimedOut, timeout_cleanup.outcome: completed
Interruption re-raised after shielded compensation WorkflowTimedOut, completed
Interruption uncaught WorkflowTimedOut, completed
Compensation raises WorkflowTimedOut, failed with failure_id
Wrapped interruption (raise ... from interrupted) WorkflowTimedOut, failed with failure_id
Activity heartbeat through 500 server_error with Retry-After: 1, then 503 storage_unavailable Both raise ActivityHeartbeatUnavailable (a ServerError; status 500/503, retry_after 1.0/None). The next heartbeat succeeds and the activity and run complete

The timeout-cleanup cases follow #381's table: execution_timeout_seconds: 40, timeout_cleanup_seconds: 25, exactly one WorkflowTimeoutCleanupStarted per run, and failure_category: timeout. The SDK has no start option for timeout_cleanup_seconds, so the starts added that field to the SDK's own start body. The real Server could not be made to fail a heartbeat, so the heartbeat case used an in-container HTTP proxy in front of it. The proxy answered only POST …/activity-tasks/{id}/heartbeat, 3 times per mode (the client's transport attempts), and forwarded everything else unchanged. All containers and the network were removed afterwards, and no prune was run. The wheel digest was unchanged after the run.

After merge, 2.24.0 is tagged on this PR's merge commit. The publisher requires that commit to add only this file on top of the reviewed source.

🤖 Generated with Claude Code

Pin the wheel and sdist from build-only run 45803357604 (attempt 1)
at e1e2768, artifact dist-handoff.tar 15109030352.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@rmcdaniel

Copy link
Copy Markdown
Member Author

Release review: PASS at 72c1c2d

A reviewer in a fresh context independently verified the following.

  • 2.24.0.json has exactly the 2.23.1 schema. source_commit e1e2768 is the Prepare Python SDK 2.24.0 #386 merge and current main, and source_tree 46505017 matches.
  • Run 45803357604 is a successful workflow_dispatch of publish.yml at e1e2768, attempt 1. Artifact 15109030352 is dist-handoff.tar, unexpired, from that run, and its digest matches artifact_sha256.
  • An independent download gives tar sha256 9b0ae636…958500, with exactly two 0644 members: the wheel 00daa9e0…347c and the sdist cfdf43d0…8b24.
  • The branch adds only the approval file on top of e1e2768. promote_release.py resolve --version 2.24.0 passes at this head and at a simulated --no-ff merge, and extract reproduces both digests.
  • Code identity: all 52 wheel files are byte-identical to src/durable_workflow/ at e1e2768. The sdist sources are identical, and METADATA says 2.24.0.
  • Qualification against native Server 3.30.0 (index b7bb6007…, amd64 34d478dd…) passed all 22 checks in run2.log.
  • 2.24.0 is not on PyPI, and CI is green.

Blocking: none. Merge with a merge commit at this head while main is still e1e2768, then tag 2.24.0 ("Python SDK 2.24.0") on the merge commit.

@rmcdaniel
rmcdaniel merged commit d11b3c7 into main Nov 26, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant