Repository navigation
Document service-mode timeout cleanup - #626
Merged
Merged
Conversation
Native Server 3.30.0 admits timeout_cleanup_seconds on service starts when a supporting worker is on the task queue. Update the timeout-cleanup guide and the saga cross-reference: embedded and service availability, where describe, run detail and the Waterline observation report cleanup (Workflow 2.40.0), the service marker rule and the mixed-queue guidance. Translate the changed paragraphs into every offered locale and record the new source hashes. Refs durable-workflow/workflow#863 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The interruption reaches workflow code only at the next durable wait whose result was not already in history, so code can return without it and still record completed. Add that caveat from the portable contract, with how to spot it in history and where to run compensation; reword the completed and preempted rows; note that list views don't show cleanup state yet; and link the saga guide to the caveat. Translate into every offered locale and record the new source hashes. Refs durable-workflow/workflow#863 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Member
Author
|
Independent review: PASS at
🤖 Generated with Claude Code |
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.



Updates the public timeout-cleanup guide for what has shipped under durable-workflow/workflow#863.
docs/features/timeouts.md(#timeout-cleanup):api-stability.md.run.timeout_cleanup), run detail and the bounded run observation Waterline reads report the recorded state (outcome: runningwith cause, kind, detection time and deadlines; then the terminal outcome, withfailure_idforfailed). This replaces the old "describe carries no cleanup outcome" text.timeout_cleanup_secondson starts andstart_child_workflow, thetimeout_cleanupv1 capability, admission only with a live advertising worker, otherwise422 timeout_cleanup_not_supported. Supporting workers need cooperative cancellation enabled: PHP SDK 3.31.0+ (3.32.0+ for the stricter marker rule), Python SDK 2.24.0+, Rust SDK 4.25.0+.completeddoes not prove cleanup code ran: the interruption reaches code only at the next unresolved durable wait, how that shows in history, and running must-run compensation on every path past the work deadline. Thecompletedandpreemptedrows now follow the contract, and the guide says list views don't show the cleanup state yet.docs/features/sagas.md: the cross-reference no longer says service starts refuse the option, and links to thecompletedcaveat.The changed paragraphs are translated in all seven locales, with the new source hashes recorded. Anchors are unchanged.
check-doc-translation-updatesandcheck-doc-translationspass locally.🤖 Generated with Claude Code