Closed anmarchenko closed 1 month ago
Attention: Patch coverage is 98.59155%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 98.88%. Comparing base (
570d019
) to head (82207ac
).
Files with missing lines | Patch % | Lines |
---|---|---|
lib/datadog/ci/transport/http.rb | 94.44% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this PR do? Expands failed requests retry logic for HTTP client in this library to be as follows:
X-RateLimit-Reset
response header (stop retrying if backoff value is over 30)Motivation Better handling of transient server errors and rate limit hits: we have some requests failing with 429/503 according to internal telemetry
How to test the change? Unit tests are provided for each of the above cases