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

stripe / smokescreen / 36691896449
63%

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2026 08:48AM UTC
Jobs 1
Files 26
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 Sep 2026 08:47AM UTC coverage: 64.698% (+0.1%) from 64.565%
36691896449

push

github

web-flow
Make the self-connection guard configurable (#335)

* smokescreen: make all-port self-connection checks optional

Preserve blocking of local interface addresses on every port by default, while allowing deployments to restore the earlier listening-port-only behavior. Explicitly disabling the new setting keeps self-connection protection on the configured listening port and leaves other destinations subject to normal IP and ACL checks.

Expose the setting through Go configuration, YAML, and the CLI, preserving the default when YAML omits it and honoring explicit command-line overrides.

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* smokescreen: expose self-connections as an opt-in

Keep self-connections to all local ports blocked by default, and let callers explicitly allow other local ports with AllowSelfConnections. Preserve the listening-port guard and normal destination checks when the option is enabled.

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* smokescreen: guard the active listener port

Einhorn and custom listeners can use a different port from Config.Port. With self-connections enabled, checking the configured port would exempt the actual listener from recursion protection and deny the wrong local port.

Record the selected listener during startup and use its TCP address for the guard and startup logging. Keep Config.Port as the fallback when no TCP listener is available, and cover inherited and custom listeners with startup regression tests.

Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>

* smokescreen: restore the original listener-port check

Keep the self-connection opt-in scoped to restoring the behavior before #328. That behavior compares against Config.Port, including its existing limitations for inherited and custom listeners; tracking the actual runtime port is a separate change.

Committed-... (continued)

8 of 9 new or added lines in 3 files covered. (88.89%)

1873 of 2895 relevant lines covered (64.7%)

14.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% pkg/smokescreen/config_loader.go
Jobs
ID Job ID Ran Files Coverage
1 36691896449.1 30 Sep 2026 08:47AM UTC 26
64.7
GitHub Action Run
Source Files on build 36691896449
  • Tree
  • List 26
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 04e98e16 on github
  • Prev Build on master (#36551161673)
  • Next Build on master (#36693674511)
  • 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