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

go-pkgz / rest / 32198263088
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.24.0
DEFAULT BRANCH: master
Ran 18 Aug 2026 11:42PM UTC
Jobs 1
Files 25
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

18 Aug 2026 11:39PM UTC coverage: 96.934% (-0.7%) from 97.615%
32198263088

Pull #55

github

paskal
fix: advertise Flusher and Hijacker only when the writer beneath does

The wrapper implemented both unconditionally, so a handler's type assertion
succeeded even when the writer underneath supported neither, and the Flush that
followed silently did nothing. Timeout is exactly such a writer, so composing it
with Gzip reproduced it. The returned writer is now picked from the capabilities
of the one it wraps.

Hijack also finishes the gzip stream before handing the connection over, so
anything already written reaches the wire, and the deferred-commit deviation
from net/http header semantics is documented rather than papered over.
Pull Request #55: Advertise Flusher and Hijacker only when the underlying writer has them

14 of 24 new or added lines in 1 file covered. (58.33%)

2 existing lines in 1 file now uncovered.

1644 of 1696 relevant lines covered (96.93%)

47.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
93.14
-5.56% gzip.go

Coverage Regressions

Lines Coverage ∆ File
2
97.98
-2.02% benchmarks.go
Jobs
ID Job ID Ran Files Coverage
1 32198263088.1 18 Aug 2026 11:42PM UTC 25
96.93
GitHub Action Run
Source Files on build 32198263088
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #55
  • PR Base - master (#32198203704)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc