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

stripe / smokescreen
64%
master: 68%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.0.1
DEFAULT BRANCH: master
Repo Added 10 Nov 2020 04:12PM UTC
Token p3r3qYDPNxVPUXqvYLjFKjFquJXwV6ERu regen
Build 1193 Last
Files 28
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

LAST BUILD ON BRANCH refs/tags/v1.0.1
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • acl-validate
  • allow-different-resolvers
  • allow-private-ranges-default-option
  • alternative-ip
  • anuragm/add-server-ip-headers
  • anuragm/print-more-error-details
  • arvan/v0.1.0-keep-accept-encoding
  • asawhney/validate-upstream-proxy-after-role
  • bump-goproxy
  • bump-gp-version
  • cds/bump-go-version.1
  • cds/bump-goproxy
  • cds/connection-timing
  • cds/fix-ca-tests
  • cds/fix-lookup-denials
  • cds/fix-shutdown-behavior
  • cds/fix-timeout-test
  • cds/go-1.15
  • cds/ipv4-only-lookups
  • cds/log-outbound-host
  • cds/per-conn-duration-metric
  • cds/smokescreen-metrics
  • cgnat-ssrf
  • client-timeout
  • cmoresco/bump
  • cmoresco/bump-statsd
  • cmoresco/config
  • cmoresco/conn-success
  • cmoresco/connstats
  • cmoresco/contributors
  • cmoresco/docs
  • cmoresco/docs-ip
  • cmoresco/export
  • cmoresco/hooks
  • cmoresco/interface
  • cmoresco/metrics-package
  • cmoresco/response
  • cmoresco/server
  • connect-local
  • conntrack-atomic-last-activity
  • conntrack-project-tag
  • cschen-conntrack-project-tag
  • denylist-log
  • dependabot/go_modules/github.com/sirupsen/logrus-1.9.1
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/google.golang.org/protobuf-1.33.0
  • dependabot/go_modules/gopkg.in/yaml.v2-2.2.8
  • dos-timeout
  • example-com
  • expose-resolver-request-context
  • feature/AddPrometheusMetrics
  • fishdev/add-cn-metric-tags
  • fix-crl-enforcement
  • fix-mitm-nil-url-panic
  • fix/acl-disabled-action-revalidation
  • fix/connect-timeout-default
  • fix/prometheus-listen-hardening
  • fix/rate-limit-default-burst
  • fix/rfc8215-nat64
  • fix/self-connection-any-port
  • flag
  • gauthamw/add-domain-ip-filter-bypass
  • gauthamw/add-ip-rule-precedence
  • gauthamw/bump-x-net-to-v0-62-0
  • gauthamw/container-releases
  • gauthamw/extract-ip-policies
  • gauthamw/fill-configuration-doc-gaps
  • gauthamw/fix-govulncheck-install
  • gauthamw/fix-issue-149
  • gauthamw/fix-nil-connection-error
  • gauthamw/fix-stats-server-shutdown
  • gauthamw/global-metric-tags
  • gauthamw/hermetic-ci-tests
  • gauthamw/hermetic-integration-tests
  • gauthamw/http-request-completion-logging
  • gauthamw/https-proxy
  • gauthamw/metric-name-overrides
  • gauthamw/metrics-tag-preparation-perf
  • gauthamw/modernize-ci
  • gauthamw/most-specific-ip-rules
  • gauthamw/pin-lint-go-1-27-1
  • gauthamw/prefix-test-acl-fixtures
  • gauthamw/prometheus-v2-metrics
  • gauthamw/protect-proxy-listener-from-self-connections
  • gauthamw/proxy-hooks
  • gauthamw/require-client-cert-with-client-ca
  • gauthamw/rotate-resolvers
  • gauthamw/smokescreen-cleanhttp
  • gauthamw/smokescreen-cli
  • gauthamw/smokescreen-datadog
  • gauthamw/smokescreen-godeps
  • gauthamw/smokescreen-logrus
  • gauthamw/smokescreen-prometheus
  • gauthamw/smokescreen-proxyproto
  • gauthamw/smokescreen-testify
  • gauthamw/smokescreen-version
  • gauthamw/smokescreen-xid
  • gauthamw/smokescreen-yaml
  • gauthamw/split-smokescreen-tests
  • gauthamw/update-staticcheck
  • gauthamw/vendor-goproxy-update
  • harden-release-publish-pipeline
  • harold/acl-connect-req-decide-args
  • harold/decide_interface
  • harold/goveralls-build
  • harold/mitm_support
  • harold/mitm_support_2
  • harold/update-build
  • harshalgainer/fix-crl-validation
  • idle-conn-fix
  • instrumented-conn-error-lock
  • jjiang-coverage-badge
  • jjiang-goveralls
  • jjiang-test
  • jjiang/fix-hostname
  • jjiang/fix-logging-addrs
  • jjiang/more-square-brackets
  • jjiang/normalize-hosts-in-acl-validation
  • jjiang/tag-based-metrics
  • kevinv/fix-test-map-keys
  • kevinv/tag-metrics-requested-host
  • lewandowski/connect-normalization
  • lewandowski/github-actions
  • lewandowski/idna
  • lewandowski/normalization
  • lewandowski/normalize-pkg
  • lewandowski/underscores
  • lewandowski/v6
  • lewandowski/version
  • manishsb/support-custom-middleware-for-smokescreen-requests
  • master
  • mattm-15
  • mattm-lint
  • metric-sanitize
  • metrics/private-prometheus-mux
  • mitm-acl
  • non-prefix-wildcard
  • param-allow-callbacks-for-request-verification
  • private-ip
  • pspieker-add-proxy-acl-support
  • pspieker-fix-proxy-host-url-parsing
  • pspieker-gp-scatch
  • pspieker-testing-gp-changes
  • pspieker-tmp
  • ransford-dns-query-time-metric
  • ransford-mod-update
  • ransford-readme-updates
  • ransford/bump-ci
  • ransford/connect-error-metrics
  • ransford/globs
  • ransford/metrics
  • rate-limit-dos
  • refs/tags/v0.0.3
  • refs/tags/v0.0.4
  • refs/tags/v0.1.0
  • refs/tags/v0.2.0
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • release-v0.1.0
  • release-v1.0.0
  • request-timeout
  • revert-262-dos-timeout
  • revert-269-client-timeout
  • revert-339-gauthamw/require-client-cert-with-client-ca
  • rishikej-missing-log-fields
  • rishikej-timeout-log
  • rwg/log-tcp-tuples.0
  • rwg/star.0
  • saurabhbhatia/add-reject-handler
  • saurabhbhatia/alert-autofix-1
  • saurabhbhatia/alert-autofix-2
  • saurabhbhatia/default_bypass_fix
  • saurabhbhatia/enhc-error-messages
  • saurabhbhatia/smokescreen-ctx-changes
  • saurabhbhatia/update-goproxy
  • saurabhbhatia/update-goproxy-again
  • sergeyrud-make-hostMatchesGlob-exportable
  • sergeyrud-move-custom-request-handler-after-the-main-check
  • shubh/acl-label-wildcards
  • shubh/acl-normalize-host-once
  • shubh/acl-v2-engine
  • shubh/acl-v2-policy
  • shubh/aclv2-1-glob
  • shubh/aclv2-2-policy
  • shubh/aclv2-3-engine
  • shubh/aclv2-4-switch
  • shubh/aclv2-5-drop-v1
  • shubh/aclv2-v1-convert
  • shubh/compatible-deps
  • shubh/configurable-self-connection-check
  • shubh/conn-error-lock
  • shubh/conntrack-log-byte-values
  • shubh/dial-races
  • shubh/downgrade-proxyproto-v014
  • shubh/egress-compatible-deps
  • shubh/fix-conntrack-cache-cleanup
  • shubh/fix-http-role-logging
  • shubh/glob-with-hostnames
  • shubh/readme-v1-tags
  • shubh/readme-versions-v1
  • shubh/readme-versions-v2
  • shubh/release-binaries
  • shubh/repo-hygiene
  • shubh/security-workflow-triggers
  • shubh/slog-01-baseline
  • shubh/slog-02-recording-handler
  • shubh/slog-03-redaction
  • shubh/slog-04-config-loading
  • shubh/slog-05-api-migration
  • shubh/slog-06-request-context
  • shubh/slog-07-mitm-correlation
  • shubh/slog-08-validation
  • shubh/slog-09-documentation
  • shubh/smokescreen-slog-migration
  • shubh/update-goproxy-mitm-cert-randomness
  • shubh/update-goproxy-stdlib-cache
  • shubh/v1-config-loading
  • shubh/v1-conn-error-lock
  • shubh/v1-conntrack-error-lock
  • shubh/v1-dial-races
  • shubh/v1-slog-01-baseline
  • shubh/v1-slog-02-migration
  • shubh/v1-slog-03-correlation
  • shubh/v1-slog-04-release-readiness
  • shubh/v1-tags-v1
  • shubh/v2-compatible-deps
  • shubh/v2-deps-parity
  • shubh/v2-docs
  • shubh/v2-port-365
  • sohamsen/dial-error-hook
  • sohamsen/fix-flaky-example.com
  • sohamsen/ipv6-embedding
  • sohamsen/metric-fix-high-cardinality
  • sohamsen/pin-github-actions
  • sohamsen/race-fix
  • sohamsen/v2-compatible-deps-dial-error-hook
  • sohamsen/v2-dial-error-hook
  • stable-log-field-names
  • subtree-merge
  • test-branch
  • tmp-sign-shubh-v1-conn-error-lock
  • tmp-sign-shubh-v1-dial-races
  • tmp-sign-shubh-v1-tags-v1
  • tunnel-limiter
  • update-docs
  • upgrade-golang
  • v1
  • v2
  • v2-compatible-deps
  • validate
  • xieyuxi-configurable-proxy-addrs

25 Nov 2026 02:56PM UTC coverage: 63.811% (+0.4%) from 63.46%
45639879723

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

Relevant lines Covered
Build:
Build:
3385 RELEVANT LINES 2160 COVERED LINES
23.75 HITS PER LINE
Source Files on master
  • Tree
  • List 28
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
45639879723 refs/tags/v1.0.1 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 ... push 25 Nov 2026 02:59PM UTC web-flow github
63.81
45639571449 v1 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 ... push 25 Nov 2026 02:57PM UTC web-flow github
63.81
45639327701 v1 conntrack: fix races in InstrumentedConn.Error, Idle and Stats (#390) 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, s... push 25 Nov 2026 02:55PM UTC web-flow github
63.46
45639343770 master 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... push 25 Nov 2026 02:55PM UTC web-flow github
67.56
45639268638 v1 README: tag v1 releases as v1.x.y (#384) The v1 branch now ships stable releases, starting with v1. Earlier releases keep their v0.x.y tags. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> push 25 Nov 2026 02:55PM UTC web-flow github
63.5
45639277529 master README: tag v1 releases as v1.x.y (#385) The v1 branch now ships stable releases, starting with v1.0.0. Earlier releases keep their v0.x.y tags. Committed-By-Agent: claude Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> push 25 Nov 2026 02:55PM UTC web-flow github
67.6
45637132036 tmp-sign-shubh-v1-conn-error-lock 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 er... Pull #390 25 Nov 2026 02:44PM UTC web-flow github
63.46
45637125334 tmp-sign-shubh-v1-conn-error-lock README: add version guidance for v1 and v2 (v1 branch) (#379) * README: add version guidance for v1 and v2 v2 is an early release that will break its API again, and v1 gets only security fixes, major bug fixes and dependency updates for now. Use... push 25 Nov 2026 02:44PM UTC web-flow github
63.5
45637146643 shubh/v1-conn-error-lock 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 er... Pull #390 25 Nov 2026 02:44PM UTC web-flow github
63.46
45637083485 tmp-sign-shubh-v1-dial-races README: add version guidance for v1 and v2 (v1 branch) (#379) * README: add version guidance for v1 and v2 v2 is an early release that will break its API again, and v1 gets only security fixes, major bug fixes and dependency updates for now. Use... push 25 Nov 2026 02:44PM UTC web-flow github
63.5
See All Builds (981)
  • Settings
  • Repo on GitHub
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