Enable retries by default#4454
Merged
Merged
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
rcoh
requested changes
Dec 17, 2025
f7a4014 to
fc83a75
Compare
rcoh
reviewed
Dec 27, 2025
Collaborator
rcoh
left a comment
There was a problem hiding this comment.
Test failure is real, need to fix the test or pin the behavior version
I would also appreciate a few tests
This comment was marked as resolved.
This comment was marked as resolved.
8b3dcd0 to
8b014c8
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
ada4678 to
796622b
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
c82874c to
f02053c
Compare
This comment was marked as resolved.
This comment was marked as resolved.
f02053c to
0f588c2
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
aajtodd
reviewed
Jan 6, 2026
821575e to
27e9c69
Compare
27e9c69 to
b6fa58c
Compare
This comment was marked as resolved.
This comment was marked as resolved.
rcoh
requested changes
Jan 12, 2026
Collaborator
rcoh
left a comment
There was a problem hiding this comment.
this uses 2025_01_17? shouldn't we be making a new behavior version?
rcoh
requested changes
Jan 12, 2026
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
rcoh
reviewed
Jan 13, 2026
Collaborator
rcoh
left a comment
There was a problem hiding this comment.
Only one remaining issue, otherwise LGTM
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
rcoh
approved these changes
Jan 13, 2026
This comment was marked as resolved.
This comment was marked as resolved.
aajtodd
approved these changes
Jan 13, 2026
84d704b to
eb0c7aa
Compare
eb0c7aa to
cffe1d6
Compare
This comment was marked as resolved.
This comment was marked as resolved.
vcjana
added a commit
that referenced
this pull request
Jan 23, 2026
vcjana
added a commit
that referenced
this pull request
Jan 23, 2026
vcjana
added a commit
that referenced
this pull request
Jan 23, 2026
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.
Fixes awslabs/aws-sdk-rust#1389
Fixes awslabs/aws-sdk-rust#1393
Problem
When users create a client with
Config::builder().build(), retries are disabled by default. This is confusing because our docs say retries are enabled by default, andaws_config::load_from_env()does enable them. Users expect retries to just work.Solution
Enable
RetryConfig::standard()and a 3.1s connection timeout by default forBehaviorVersion::v2025_01_17()and later. Older behavior versions keep the current behavior for backward compatibility.Changes
default_retry_config_plugin()to enable retries for new behavior versionsdefault_timeout_config_plugin()to add 3.1s connection timeout.send()docs to clarify when retries are enabledDocumentation Updates Needed
The AWS Developer Guide at https://docs.aws.amazon.com/sdk-for-rust/latest/dg/retries.html needs to be updated to reflect this change.
Checklist
cc @rcoh @aajtodd