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

feat(konnect): propagate 429's retry-after header value #4015

Merged
merged 1 commit into from
May 16, 2023

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented May 15, 2023

What this PR does / why we need it:

Makes use of Retry-After HTTP header when 429 is returned from Konnect RG's Admin API.

Which issue this PR fixes:

Part of #3959.

Special notes for your reviewer:

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@czeslavo czeslavo self-assigned this May 15, 2023
@czeslavo czeslavo added this to the KIC v2.10.0 milestone May 15, 2023
@czeslavo czeslavo marked this pull request as ready for review May 15, 2023 16:29
@czeslavo czeslavo requested a review from a team as a code owner May 15, 2023 16:29
@czeslavo czeslavo force-pushed the retry-after-konnect branch 2 times, most recently from ef5a6e2 to 58e8bae Compare May 15, 2023 16:52
pmalek
pmalek previously approved these changes May 15, 2023
@codecov
Copy link

codecov bot commented May 15, 2023

Codecov Report

Patch coverage: 100.0% and no project coverage change.

Comparison is base (7b70f70) 59.8% compared to head (9c4f619) 59.8%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4015   +/-   ##
=====================================
  Coverage   59.8%   59.8%           
=====================================
  Files        148     148           
  Lines      16266   16290   +24     
=====================================
+ Hits        9728    9749   +21     
- Misses      5903    5905    +2     
- Partials     635     636    +1     
Impacted Files Coverage Δ
internal/adminapi/backoff_strategy_konnect.go 98.9% <100.0%> (+0.3%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@czeslavo czeslavo requested a review from pmalek May 16, 2023 09:38
@czeslavo czeslavo merged commit 8ce0421 into main May 16, 2023
25 checks passed
@czeslavo czeslavo deleted the retry-after-konnect branch May 16, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants