Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy request for each attempt / don't retry client errors #460

Merged
merged 5 commits into from
Mar 24, 2025

Conversation

alextwoods
Copy link
Contributor

Description of changes:
In #449 the copy on request context when calling _handle_attempt was removed and the copy method on interceptor context was removed as well. This breaks endpoint construction during _handle_attempt - without a copy of the request, the destination is modified for each attempt.

Additionally, this PR removes retries for client errors from the SimpleRetryStrategy.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@alextwoods alextwoods requested a review from a team as a code owner March 20, 2025 20:24
nateprewitt
nateprewitt previously approved these changes Mar 20, 2025
@alextwoods alextwoods merged commit a678b9b into smithy-lang:develop Mar 24, 2025
2 checks passed
@alextwoods alextwoods deleted the fix_retry_request branch March 24, 2025 15:33
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.

3 participants