Repository navigation
Prepare Python SDK 2.24.0 - #386
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Member
Author
|
Independent review: PASS at ce244ce A reviewer in a fresh context checked this prep against 6de6282 (#377) and the code.
Blocking: none. Non-blocking: prepared local activities also skip the new heartbeat mapping ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Prepares Python SDK 2.24.0 from current main (
72d224a). OnlyCHANGELOG.mdand the three version fields inpyproject.tomlchange, as in #377.Since
2.23.1this release includes:ctx.replay_now()at workflow entry from the task'sreplay_clock(Read the WorkerReplayClock entry carrier in replay_now() #380, Fail unattested query and validation rebuilds that read entry time #382, Describe query handler replay time and non-monotonic boundaries #384)timeout_cleanupcapability and interruption marker (Advertise timeout cleanup and send the portable interruption marker #381)ActivityHeartbeatUnavailable(Raise a typed ActivityHeartbeatUnavailable when a heartbeat hits a failover #385)#379 adds only replay tests and fixtures, so it has no entry.
Changelog corrections:
2.23.1tag but wrote its entry into the 2.23.1 section. It moves unchanged to 2.24.0 → Fixed. The 2.23.1 section now matches the tagged text again.### Changedsection has four Compatibility notes, which the Added entries now point to: the heartbeat error type and recorded failure type, the replay clock at workflow entry (version or drain branching code; upgrade to Server 3.30.0 for queries and validations), timeout cleanup on mixed queues (every worker on the queue on PHP SDK 3.31.0+, Rust SDK 4.25.0+ or Python SDK 2.24.0+ with cooperative cancellation), and plain 500 /server_errornow retried.I checked these claims against the code and the Server tags:
heartbeat()wraps only_transient_runtime_errorfailures, and the worker recordstype(e).__name__as the failure type.Local checks on
python:3.12:python -m build, thencheck_release_metadata.py --source-ref HEAD --dist dist: the distributions match 2.24.0 at this commit.twine check: passes.smoke-built-package.py: passes.Next:
publish.ymlat that merge commit..github/release-candidates/2.24.0.jsondescriptor PR that pins that run's artifact, with installed qualification of the exact wheel against native Server 3.30.0 (ghcr.io/durable-workflow/server@sha256:b7bb6007e2cfeb76823fdaf497e279656e3d10cf441c735b7181c72f698087bd) and an independent review.2.24.0on the descriptor merge commit.🤖 Generated with Claude Code