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

stripe / smokescreen / 43014543402
67%
master: 68%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.0.1
DEFAULT BRANCH: master
Ran 11 Nov 2026 11:46AM 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

11 Nov 2026 11:45AM UTC coverage: 67.438% (-0.009%) from 67.447%
43014543402

push

github

web-flow
smokescreen: decide with the acl/v2 engine and load v2 ACL files (#367)

* acl/v1: convert a v1 ACL to an equivalent acl/v2 policy

Users that build v1 ACLs, from YAML files, in Go or by merging dynamic config, can move to the acl/v2 engine without rewriting their ACL data. ACL.Policy returns a v2 policy that decides every request the same way as the v1 ACL: the same result, reason, project, default flag and MITM config. Every converted service allow entry sets override_global_policy, since in v1 a service's allowed domains always win over the global deny list, so the policy compiles without compat mode. ACL.Engine compiles it with the ACL's disabled policies.

Policy returns an error, rather than a policy that decides differently, for what v2 cannot express: an unknown policy, a rule for an empty service name, a MITM domain that is not an allowed domain, and a label-wildcard proxy glob in an ACL that allows wildcards across public suffixes.

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

* smokescreen: decide with the acl/v2 engine and load v2 ACL files

Smokescreen now loads only v2 ACL files and decides every request with the acl/v2 engine. SetupEgressAcl compiles the file with acl.Load; --disable-acl-policy-action becomes a disabled mode, so it keeps rejecting ACLs that use the disabled action. A v1 file fails to load with an error about the version. Users who keep v1 ACLs stay on the v1 module.

--acl-compat, or acl_compat in the config file, loads an ACL whose service allow entries overlap the global deny list without override_global_policy, lets those entries win as they did in v1, and logs a warning for each one. The config file needs its own key because it loads acl_file before the CLI flags are read, so a strict load would fail before --acl-compat applies.

The test ACLs move to the v2 layout with the same rules. Each converted file gives the same decisions as its v1 original.

Co-Authored-By: Claude Opus... (continued)

30 of 47 new or added lines in 3 files covered. (63.83%)

2651 of 3931 relevant lines covered (67.44%)

256.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
65.02
-1.29% pkg/smokescreen/config.go
2
0.0
0.0% pkg/smokescreen/config_loader.go
Jobs
ID Job ID Ran Files Coverage
1 43014543402.1 11 Nov 2026 11:46AM UTC 34
67.44
GitHub Action Run
Source Files on build 43014543402
  • Tree
  • List 34
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 97c12035 on github
  • Prev Build on v2 (#43014476341)
  • Next Build on v2 (#43021592651)
  • 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