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

trickstercache / trickster / 27879931985
89%

Build:
DEFAULT BRANCH: main
Ran 20 Jun 2026 06:29PM UTC
Jobs 2
Files 308
Run time 1min
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

20 Jun 2026 06:23PM UTC coverage: 89.081% (-0.04%) from 89.118%
27879931985

push

github

web-flow
fix: [engines] set Request.GetBody to support HTTP/2 GOAWAY retries (#1020)

POST/PUT requests returned 502 Bad Gateway when the upstream sent an HTTP/2 GOAWAY frame (keep-alive rotation, rolling updates). Go's transport only retries such requests when Request.GetBody is set, so without it the transport could not re-read the body and aborted the retry with "cannot retry err after Request.Body was written; define Request.GetBody to avoid this error".

PrepareFetchReader now buffers the request body via request.GetBody, which bounds the read by the backend's MaxObjectSizeBytes (returning 413 when exceeded) and caches it on the request resources, then mirrors it into Request.GetBody so the transport can replay the body on retry.

Tests cover body replay across multiple GetBody calls, the end-to-end GOAWAY retry, and 413 rejection of an oversized body.

Signed-off-by: thinker0 <thinker0@gmail.com>

21 of 23 new or added lines in 1 file covered. (91.3%)

9 existing lines in 2 files now uncovered.

20714 of 23253 relevant lines covered (89.08%)

1.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
78.18
1.2% pkg/proxy/engines/httpproxy.go

Coverage Regressions

Lines Coverage ∆ File
7
94.02
-3.8% pkg/backends/alb/mech/fanout/fanout.go
2
98.36
-1.64% pkg/proxy/engines/progressive_collapse_forwarder.go
Jobs
ID Job ID Ran Files Coverage
1 unit-Go-1.26 - 27879931985.1 20 Jun 2026 06:29PM UTC 304
84.11
GitHub Action Run
2 integration - 27879931985.2 20 Jun 2026 06:31PM UTC 301
52.87
GitHub Action Run
Source Files on build 27879931985
  • Tree
  • List 308
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7c34f8dc on github
  • Prev Build on main (#27276047449)
  • Next Build on main (#27880361012)
  • Delete
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