Repository navigation
Document the advancing replay clock - #619
Conversation
Describes ctx.replay_now(), replay_now() and replayNow() as they ship in the next SDK and Server releases: the run's start at ordinary entry from the task's replay_clock, each supported consumed step's recorded time afterwards, the unavailable cases (including inline and local families until Core defines a persisted time), the query and validation rule, and the upgrade note. The cross-SDK clock table now lists the service-mode clocks. All seven locales and their source hashes are updated. Refs durable-workflow/.github#215 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of #619: query handlers can read the clock in Python and Rust when the queried history ends at a supported scalar boundary; only PHP is always unavailable. Also notes the redrive-successor entry instant, that the clock is not guaranteed monotonic, which SDKs ship which rule, offline replay and WorkflowEnvironment, mixed-version and Server-upgrade cases in the upgrade note, embedded side-effect time on first execution too, and links the polling recipe to the new section. All seven locales and hashes updated. Refs durable-workflow/.github#215 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g wording Re-review of #619: the de, ja and zh-Hans PHP pages lacked the redrive-successor parenthetical. The polling recipe now says ctx.replay_now() already advances in Python SDK 2.15.0 and later, and that only its entry value is new in the next release. Hashes updated. Refs durable-workflow/.github#215 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent review: PASS at Round 1 (blocking): the pages said query handler reads were unavailable in every SDK. In fact Python and Rust return the time when the queried history ends at a supported scalar boundary; PHP is always unavailable. Round 2 (blocking): the redrive parenthetical was missing from the de, ja and zh-Hans Both are fixed, along with the non-blocking items:
Verified:
This stays a draft describing the next release; General takes it out of draft at release time. 🤖 Generated with Claude Code |
Record the .github#215 decisions in the canonical advancing replay clock section: service-mode SDKs report the clock unavailable after side effects, version markers, memo and search-attribute updates and local activities; embedded Workflow::now() moves to the step's recorded time; the external-worker WorkflowFiberRunner keeps the previous boundary time, with the deliberate version-marker first-execution/replay divergence pinned by repeated-version-legacy-clock-boundaries; and mixed embedded/external fleets are unsupported for clock reads right after those steps. Point to it from the PHP and Rust guides and carry the change into all seven locales. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Python SDK 2.24.0, Rust SDK 4.25.0 and PHP SDK 3.32.0 return the run's start at entry, Server 3.30.0 sends replay_clock on query and update-validation tasks, and Workflow 2.42.0 lets the worker-protocol runner read the carrier. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent docs review: CHANGES REQUESTED at 360af81 Verified: the version fill-ins (Python SDK 2.24.0, Rust SDK 4.25.0, PHP SDK 3.32.0 ship the entry value; server#1338 is in 3.30.0 and not 3.29.0; Workflow 2.42.0 adds BLOCKING
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On Workflow 2.42.0's WorkflowFiberRunner, side effects, memo and search-attribute updates and version markers all keep the previous boundary time on first execution and read the step's recorded time on replay. Describe all four alike, keep the note that the version-marker case is pinned by the replay fixture, and make the advice unconditional: read the clock after the next durable step. Carry the change into all seven locales and refresh their source hashes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent docs review: PASS at adb03eb (re-review). The external-runner bullet now matches the Workflow 2.42.0 |
|



Released versions. This page set documents the replay-safe clock as it ships in Python SDK 2.24.0, Rust SDK 4.25.0 and PHP SDK 3.32.0 (value at entry), Server 3.30.0 (
replay_clockon query and update-validation tasks) and Workflow 2.42.0 (the worker-protocol runner reads the carrier). The guides name those versions in English and all locales.What changes
docs/polyglot/python.md:ctx.replay_now();#advancing-replay-clock);The new section covers:
replay_clock(Server 3.6.0+), and the recorded time after each supported consumed step;#inline-step-clock-reads) recording the .github#215 decisions of 2026-11-26: after side effects, version markers, memo and search-attribute updates and local activities, service-mode SDKs report the clock unavailable, embeddedWorkflow::now()moves to the step's recorded time, and the external-workerWorkflowFiberRunnerkeeps the previous boundary time. Its version-marker first-execution/replay divergence stays deliberately (pinned byrepeated-version-legacy-clock-boundaries). Mixed embedded/external fleets are unsupported for clock reads right after side effects and memo/search-attribute updates.The clock table now lists Rust
replay_now()and PHPreplayNow()instead of "no clock".docs/polyglot/rust.md: a "Replay-safe workflow time" section, and a determinism-table row pointing toctx.replay_now().docs/polyglot/php.md: a "Replay-safe workflow time" section. The PHP and Rust sections point to the inline-step subsection.Locales: all seven (de, es, fr, pt-BR, uk, ja, zh-Hans) are translated with matching
{#id}anchors. Eachsource-hashes.jsonrecords the new English hashes, andcheckTranslationUpdatespasses locally.Sources: sdk-python #380/#382, sdk-rust #321, sdk-php #485/#489 and server #1338 (all merged), and the decisions on durable-workflow/.github#215 to keep inline and local families unavailable and to document clock reads after inline steps as not portable.
Refs durable-workflow/.github#215, website#302
🤖 Generated with Claude Code