Repository navigation
docs: pause the execution from a retry decision - #317
Merged
Merged
Conversation
- Add "Pause after a failed attempt" to the retries page, with TypeScript and Python examples for pauseEvery / pause_every and for a custom strategy that sets pause - Add a redrive tip: pause instead of failing, fix the cause, then resume the execution to run the failed step again - Add pause to the RetryDecision signatures and pauseEvery / pause_every to the RetryStrategyConfig signatures - Add "Pause and resume an execution" to the manage executions page - Link the wait-based pause and resume page to the new sections
ParidelPooya
had a problem deploying
to
ai-pr-review
November 19, 2026 00:43 — with
GitHub Actions
Error
The pause option is not experimental. The SDK support note now lists the TypeScript, Python, Go and Rust SDKs. The Java and C# SDKs do not support it yet.
ParidelPooya
had a problem deploying
to
ai-pr-review
November 19, 2026 00:55 — with
GitHub Actions
Error
Add Go and Rust tabs to the "Pause after a failed attempt" section of the retries page: pause every N attempts, pause from a custom strategy, pause instead of failing, and pauses and other branches. Document Go RetryConfig.PauseEvery and RetryDecision.Pause, and Rust RetryStrategyConfigBuilder::pause_every and RetryDecision::Retry pause with RetryDecision::with_pause, in the signature sections. The Go examples build and pass go vet against aws/aws-durable-execution-sdk-go#190. The Rust examples pass rustfmt and clippy against aws/aws-durable-execution-sdk-rust#214.
ParidelPooya
had a problem deploying
to
ai-pr-review
November 19, 2026 02:03 — with
GitHub Actions
Error
List only the SDKs that do not have the feature, as the plugins page does.
ParidelPooya
had a problem deploying
to
ai-pr-review
November 19, 2026 03:00 — with
GitHub Actions
Error
yaythomas
requested changes
Nov 19, 2026
Use language-neutral names for the callback submitter and the retry block. Describe how a TypeScript step in another branch behaves when a pause ends the invocation. Add kms:Decrypt to the permissions the resume caller needs.
ParidelPooya
had a problem deploying
to
ai-pr-review
November 19, 2026 17:46 — with
GitHub Actions
Error
This was referenced Nov 19, 2026
ParidelPooya
marked this pull request as ready for review
November 19, 2026 23:01
ParidelPooya
temporarily deployed
to
ai-pr-review-runtime
November 19, 2026 23:01 — with
GitHub Actions
Inactive
ParidelPooya
had a problem deploying
to
ai-pr-review-runtime
November 19, 2026 23:01 — with
GitHub Actions
Failure
ParidelPooya
had a problem deploying
to
ai-pr-review-runtime
November 19, 2026 23:01 — with
GitHub Actions
Failure
This branch had an error being deployed
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.
What changed
docs/sdk-reference/error-handling/retries.md). A new section, "Pause after a failed attempt", explains how a retry decision pauses the durable execution, when the SDK ignorespause, and what happens when the pause call fails. It has TypeScript, Python, Go, and Rust examples forpauseEvery/pause_every/PauseEveryand for a custom strategy that pauses after attempt 5 for one error type. It also covers otherparallelandmapbranches per SDK, how to resume, and the permissions. The section lists the SDKs that support it.pauseis added to theRetryDecisionsignature, and the pause-every option is added to theRetryStrategyConfigsignature, for TypeScript, Python, Go (RetryDecision.Pause,RetryConfig.PauseEvery), and Rust (RetryDecision::Retry { pause, .. },RetryDecision::with_pause,RetryStrategyConfigBuilder::pause_every).pause-durable-executionandresume-durable-executioncommands, thePAUSINGandPAUSEDstatuses, and the permissions. It links to the Lambda guide, the retries section, and the redrive tip.Source
Java and C# do not have this feature, so the new sections have no tabs for them. This PR merges after the Go and Rust SDK PRs.
How I checked
zensical build --clean(zensical 0.0.40, the CI version) printed "No issues found". The new anchors render, and the tabs inside the tip render.mdformat --check docs/,codespell docs/, andpython3 scripts/check_example_refs.pypass.tsc --strictagainst@aws/durable-execution-sdk-js3.1.0.aws-durable-execution-sdk-python3.1.0. I called each strategy directly to check which attempts pause and which attempts stop.gofmt,go build, andgo vetagainst the head of Go docs: fix TypeScript unrecoverable error example #190.rustfmt --checkandcargo clippyat the SDK examples workspace lint levels (exceptmissing_docs) against the head of Rust docs: add filesystem serdes section #214.