Skip to content

Add retry for transient AWS credential errors in Submission::File#8469

Merged
iHiD merged 1 commit into
mainfrom
fix/8449
Feb 9, 2026
Merged

Add retry for transient AWS credential errors in Submission::File#8469
iHiD merged 1 commit into
mainfrom
fix/8449

Conversation

@iHiD
Copy link
Copy Markdown
Member

@iHiD iHiD commented Feb 9, 2026

Closes #8449
Closes #8448
Closes #8447

Summary

  • Added retry logic (up to 3 attempts with linear backoff) to Submission::File#raw_content for Aws::Sigv4::Errors::MissingCredentialsError and Aws::Errors::MissingCredentialsError
  • Transient credential failures (e.g., during IAM credential rotation) self-heal without hitting Sentry
  • Persistent credential issues still raise after retries exhaust, so they're still reported to Sentry

Test plan

  • Existing Submission::File tests pass (2 runs, 5 assertions, 0 failures)

🤖 Generated with Claude Code

When fetching file content from S3, AWS credentials can be temporarily
unavailable during IAM credential rotation. Add retry logic (up to 3
attempts with linear backoff) so transient failures self-heal, while
persistent credential issues still bubble up to Sentry.

Closes #8449
Closes #8448
Closes #8447

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@iHiD iHiD merged commit 91a6813 into main Feb 9, 2026
41 checks passed
@iHiD iHiD deleted the fix/8449 branch February 9, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment