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

stripe / smokescreen / 45639343770
68%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2026 02:55PM UTC
Jobs 1
Files 34
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

25 Nov 2026 02:55PM UTC coverage: 67.561% (-0.03%) from 67.595%
45639343770

push

github

web-flow
conntrack: fix races in InstrumentedConn.Error, Idle and Stats (#389)

* conntrack: take the connection lock in InstrumentedConn.Error

Close reads ConnError while it holds the connection's lock, and the tracker can close a connection from another goroutine at shutdown. Error wrote ConnError without the lock, so an error report and a close at the same time raced.

rohith-sierra found this race and reported it in #369.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Committed-By-Agent: claude

* conntrack: read activity and byte counters atomically in Idle and Stats

Read and Write update LastActivity, BytesIn and BytesOut with atomic operations and without the connection's lock. Idle and Stats read the same fields with plain loads, so they raced with an active tunnel. Close already reads the byte counters atomically, and Idle and Stats now do the same.

gabriela-cw found this race and reported it in #370.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Committed-By-Agent: claude

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1 of 6 new or added lines in 1 file covered. (16.67%)

1 existing line in 1 file now uncovered.

2693 of 3986 relevant lines covered (67.56%)

253.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
72.65
-1.26% pkg/smokescreen/conntrack/instrumented_conn.go

Coverage Regressions

Lines Coverage ∆ File
1
72.65
-1.26% pkg/smokescreen/conntrack/instrumented_conn.go
Jobs
ID Job ID Ran Files Coverage
1 45639343770.1 25 Nov 2026 02:55PM UTC 34
67.56
GitHub Action Run
Source Files on build 45639343770
  • Tree
  • List 34
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a1f32393 on github
  • Prev Build on master (#45639277529)
  • Delete
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