Skip to content

Conversation

@vlad-heidi
Copy link

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Fixes #776

Changes R2Client default refetch_interval from 3600s to 3300s to match S3Client.

R2 credentials expire at exactly 60 minutes. With the default set to 3600s, credentials expire before they can be refreshed, causing auth failures for any streaming job running longer than 1 hour.

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link

codecov bot commented Jan 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80%. Comparing base (5913181) to head (3444164).

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #777   +/-   ##
===================================
- Coverage    80%    80%   -0%     
===================================
  Files        52     52           
  Lines      7362   7362           
===================================
- Hits       5906   5905    -1     
- Misses     1456   1457    +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

R2Client credential refetch interval causes auth failure at 60 minutes

1 participant