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

enetx / surf / 21516979359
83%

Build:
DEFAULT BRANCH: main
Ran 30 Jan 2026 01:14PM UTC
Jobs 1
Files 33
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

30 Jan 2026 01:10PM UTC coverage: 80.883% (-0.4%) from 81.276%
21516979359

push

github

enetx
fix(core): improve HTTP/2 connection lifecycle and context cancellation

Body changes:
- Add setupContextCancel() call in Dump() method to support context cancellation during file write operations
- Fix bug where cached empty body would attempt to read from exhausted Reader instead of writing empty file

ConnectProxy changes:
- Add closeOnError parameter to connectHTTP2() to control connection closing on errors
- Fix race condition in DialContext() by checking both conn and h2Conn before cleanup
- Add ownsConn flag to http2Conn to properly manage connection ownership when concurrent goroutines create new connections
- Implement Close() method for proxyDialer to allow explicit resource cleanup
- Prevent connection leaks when multiple goroutines attempt to establish HTTP/2 proxy connections simultaneously

The changes ensure proper connection reuse, prevent race conditions in concurrent scenarios, and add support for context cancellation in body dump operations.

2 of 42 new or added lines in 2 files covered. (4.76%)

2 existing lines in 1 file now uncovered.

3097 of 3829 relevant lines covered (80.88%)

73.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
78.82
1.18% body.go
39
44.75
-3.1% pkg/connectproxy/connectproxy.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
44.75
-3.1% pkg/connectproxy/connectproxy.go
Jobs
ID Job ID Ran Files Coverage
1 21516979359.1 30 Jan 2026 01:13PM UTC 33
80.88
GitHub Action Run
Source Files on build 21516979359
  • Tree
  • List 33
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1f35d5d0 on github
  • Prev Build on main (#21510756790)
  • Next Build on main (#21541783763)
  • 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