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

stripe / smokescreen / 45637132036
63%
master: 68%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.0.1
DEFAULT BRANCH: master
Ran 25 Nov 2026 02:44PM UTC
Jobs 1
Files 28
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:43PM UTC coverage: 63.46% (-0.04%) from 63.498%
45637132036

Pull #390

github

web-flow
conntrack: fix races in InstrumentedConn.Error, Idle and Stats

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. Error now takes the lock.

Read and Write update LastActivity, BytesIn and BytesOut with atomic operations and without the lock, but Idle and Stats read them with plain loads. They now use atomic loads, as Close already does.

rohith-sierra reported the Error race in #369, and gabriela-cw reported the counter race in #370.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #390: conntrack: fix races in InstrumentedConn.Error, Idle and Stats (v1 branch)

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

1 existing line in 1 file now uncovered.

2124 of 3347 relevant lines covered (63.46%)

23.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
69.75
-1.19% pkg/smokescreen/conntrack/instrumented_conn.go

Coverage Regressions

Lines Coverage ∆ File
1
69.75
-1.19% pkg/smokescreen/conntrack/instrumented_conn.go
Jobs
ID Job ID Ran Files Coverage
1 45637132036.1 25 Nov 2026 02:44PM UTC 28
63.46
GitHub Action Run
Source Files on build 45637132036
  • Tree
  • List 28
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #390
  • PR Base - v1 (#43227503966)
  • 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