Skip to content

docs: correct default retry behavior for steps without a retry strategy.#202

Merged
yaythomas merged 1 commit into
aws:mainfrom
TrickSumo:patch-5
Jun 13, 2026
Merged

docs: correct default retry behavior for steps without a retry strategy.#202
yaythomas merged 1 commit into
aws:mainfrom
TrickSumo:patch-5

Conversation

@TrickSumo

@TrickSumo TrickSumo commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Issue

If you configure no retry strategy on a step, any exception propagates immediately without retrying.

retries.md says steps without a retry strategy fail immediately, but that is not true. It retries 5 times by default.

Change Log

  • Clarified default retry strategy behavior in error handling >> retries.

Clarified default retry strategy behavior in error handling.

@yaythomas yaythomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verification (source-confirmed, both languages)
JS step-handler.ts (two fallback sites, lines 186 and 394): options?.retryStrategy?.(...) ?? retryPresets.default(...). When no strategy is configured, the SDK applies retryPresets.default.
JS retry-presets.ts: default = maxAttempts: 6 (comment: "6 total attempts (1 initial + 5 retries)").
Python operation/step.py:297: retry_strategy = self.config.retry_strategy or RetryPresets.default().
Python retries.py:128 RetryPresets.default() = max_attempts=6; docstring: "will be used automatically if retryConfig is missing."

@yaythomas yaythomas merged commit 2d487ad into aws:main Jun 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants