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

stripe / smokescreen / 45639571449
64%
master: 68%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.0.1
DEFAULT BRANCH: master
Ran 25 Nov 2026 02:57PM 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:56PM UTC coverage: 63.811% (+0.4%) from 63.46%
45639571449

push

github

web-flow
smokescreen: keep Transport dials from writing request state (#387)

net/http's Transport dials on its own goroutine, and it can finish a dial after RoundTrip returns. That happens when the client cancels, or when another pooled connection serves the request first. dialContext then wrote sctx.Logger and the decision's ResolvedAddr and Reason while the request goroutine still used them, and the race detector reported it.

A Transport dial now hands its log fields back through a locked value, and the request keeps them only if the dial finished during RoundTrip. Its re-resolved address stays local. A CONNECT dial runs on the request goroutine, so it still writes the logger and records the re-resolved address and reason in the decision, which hooks such as AcceptResponseHandler read after the dial. Only tracked CONNECT and MITM connections build an enriched logger.

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

44 of 46 new or added lines in 1 file covered. (95.65%)

2160 of 3385 relevant lines covered (63.81%)

23.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
77.53
0.73% pkg/smokescreen/smokescreen.go
Jobs
ID Job ID Ran Files Coverage
1 45639571449.1 25 Nov 2026 02:57PM UTC 28
63.81
GitHub Action Run
Source Files on build 45639571449
  • Tree
  • List 28
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b464c02d on github
  • Prev Build on v1 (#45639327701)
  • 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