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

stacklok / toolhive / 30264573849

27 Jul 2026 12:06PM UTC coverage: 69.551% (-0.05%) from 69.602%
30264573849

push

github

web-flow
Audit stream opens on flush and pre-write panics (#6005)

Stacked on #5874. Two fast-follows from rdimitrov's review:

- Flush() now logs the stream connection event: a handler that
  establishes the stream by flushing headers and then blocks never hits
  WriteHeader/Write, so the event was delayed until the first data
  write or lost entirely.
- The stream-open log moved into a defer registered before ServeHTTP,
  so a panic in an inner handler still produces the event during
  unwinding. On chains whose recovery middleware runs outside audit
  (the vMCP Serve path) the event previously vanished.

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

71 existing lines in 5 files now uncovered.

80219 of 115339 relevant lines covered (69.55%)

82.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.56
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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