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

jlourenc / xgo / 7231687439
100%

Build:
DEFAULT BRANCH: main
Ran 16 Dec 2023 11:43AM UTC
Jobs 6
Files 19
Run time 3s
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

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.

138 of 138 new or added lines in 2 files covered. (100.0%)

1093 of 1093 relevant lines covered (100.0%)

150.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Windows-go-1.20 - 7231687439.1 16 Dec 2023 11:45AM UTC 0
100.0
GitHub Action Run
2 Linux-go-1.20 - 7231687439.2 16 Dec 2023 11:43AM UTC 0
100.0
GitHub Action Run
3 macOS-go-1.21 - 7231687439.3 16 Dec 2023 11:44AM UTC 0
100.0
GitHub Action Run
4 macOS-go-1.20 - 7231687439.4 16 Dec 2023 11:43AM UTC 0
100.0
GitHub Action Run
5 Linux-go-1.21 - 7231687439.5 16 Dec 2023 11:43AM UTC 0
100.0
GitHub Action Run
6 Windows-go-1.21 - 7231687439.6 16 Dec 2023 11:45AM UTC 0
100.0
GitHub Action Run
Source Files on build 7231687439
Detailed source file information is not available for this build.
  • Back to Repo
  • b93feaad on github
  • Prev Build on main (#7174608296)
  • Next Build on main (#7233344412)
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