-
Notifications
You must be signed in to change notification settings - Fork 165
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
feat: add retry support to the auth client #838
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with some minor suggestions on unit test.
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #838 +/- ##
==========================================
+ Coverage 67.46% 67.54% +0.07%
==========================================
Files 21 21
Lines 873 875 +2
==========================================
+ Hits 589 591 +2
Misses 239 239
Partials 45 45
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
If implemented the assembled oras auth client will have the default retry policy set for the underlying http roundTripper. Signed-off-by: Soule BA <bah.soule@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will follow up refactoring in #839
What this PR does / why we need it:
If implemented the assembled
oras auth client
will have the default retry policy set for the underlying http roundTripper.Which issue(s) this PR fixes:
Fixes #769
Please check the following list: