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

jeffotoni / quick / 363
88%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2025 03:42PM UTC
Jobs 1
Files 158
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

04 Oct 2025 03:40PM UTC coverage: 51.54% (-0.2%) from 51.766%
363

push

circleci

BRX0002735_prosegur
feat: add responseWriter wrapper to prevent duplicate WriteHeader calls

Implemented a custom responseWriter wrapper to handle multiple
WriteHeader
calls gracefully. The wrapper silently ignores duplicate calls,
preventing
"superfluous response.WriteHeader" errors in edge cases.

Changes:
- Added responseWriter struct with WriteHeader/Write methods in ctx.go
- Modified Reset() in pool.go to automatically wrap http.ResponseWriter
- Updated quick.go to use newCtx() consistently across all Ctx creation
  points
- Removed direct &Ctx{} instantiation in HandlerFunc, mwWrapper, and
  convertQuickToHttpHandler functions

The wrapper prevents crashes when handlers accidentally call response
methods
multiple times while maintaining backward compatibility with existing
code.

3 of 47 new or added lines in 4 files covered. (6.38%)

2 existing lines in 1 file now uncovered.

4132 of 8017 relevant lines covered (51.54%)

1351.18 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
69.18
-2.01% ctx.go
14
81.71
-0.29% quick.go
18
0.0
0.0% example/quick.sse/simple/main.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
99.24
-0.76% middleware/cache/cache.go
Jobs
ID Job ID Ran Files Coverage
1 363.1 04 Oct 2025 03:42PM UTC 158
51.54
CircleCI Job
Source Files on build 363
  • Tree
  • List 158
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #363
  • 2c3fdfb2 on github
  • Prev Build on main (#362)
  • Next Build on main (#364)
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