• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jlourenc / xgo / 7231687439 / 1
100%
main: 100%

Build:
DEFAULT BRANCH: main
Ran 16 Dec 2023 11:45AM UTC
Files 19
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Dec 2023 11:42AM UTC coverage: 100.0%. Remained the same
7231687439.1

push

github

web-flow
feat(xhttp): HTTP retry transport (#50)

This change implements an HTTP retry transport following HTTP semantics
as defined in https://datatracker.ietf.org/doc/html/rfc9110.

When the transport is chained to an HTTP client transport, it retries
requests when all the following conditions are met:
- request is retryable, either because the request method is idempotent
  or the request contains an Idempotency-Key header,
- response contains a retryable status code (with an eventual
  "Retry-After" header): 408, 413, 425, 429, 500, 502, 503 or 504.

Requests are retried with a configurable backoff policy, which defaults
to:
- an initial interval of 200 milliseconds,
- an interval multiplier of 1.5,
- a jitter factor of 0.2,
- a max interval of 30 seconds.

An optional xhttptrace.ClientTrace with a Retry hook can be added to the
context passed to the http.Request object to instrument/inspect the
retry logic.

1093 of 1093 relevant lines covered (100.0%)

25.09 hits per line

Source Files on job Windows-go-1.20 - 7231687439.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7231687439
  • b93feaad on github
  • Prev Job for on main (#7174608296.6)
  • Next Job for on main (#7233344412.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc