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

alexferl / zerohttp / 22927738560
94%

Build:
DEFAULT BRANCH: master
Ran 10 Mar 2026 10:47PM UTC
Jobs 1
Files 66
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

10 Mar 2026 10:46PM UTC coverage: 93.445% (-0.009%) from 93.454%
22927738560

push

github

web-flow
  fix: add mutex protection to etagResponseWriter (#71)

The etagResponseWriter had a potential data race on the buffer field
  and state fields (hasWritten, written, skipETag, finalized) when
  Write() and Flush() were called concurrently.

  Changes:
  - Add sync.Mutex to etagResponseWriter struct
  - Create writeHeaderLocked(), writeLocked(), finalizeLocked() internal methods
  - Update public methods (WriteHeader, Write, Flush, finalize) to use locking
  - Add TestETag_ConcurrentWriteAndFlush to verify thread safety

Signed-off-by: alexferl <me@alexferl.com>

25 of 25 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

8112 of 8681 relevant lines covered (93.45%)

49.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
93.37
-0.51% sse.go
Jobs
ID Job ID Ran Files Coverage
1 22927738560.1 10 Mar 2026 10:47PM UTC 66
93.45
GitHub Action Run
Source Files on build 22927738560
  • Tree
  • List 66
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22927738560
  • 55acccd4 on github
  • Prev Build on master (#22927420302)
  • Next Build on master (#22927936641)
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