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

cep21 / circuit / 43520049962
98%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2026 10:34PM UTC
Jobs 1
Files 23
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

13 Nov 2026 10:32PM UTC coverage: 98.131% (+0.2%) from 97.908%
43520049962

push

github

web-flow
fix(circuit): Fix overload starvation and config crashes, speed up hot paths (#166)

No exported API changes. Behavior changes are listed in UPGRADE_GUIDE.md.

Fixes:
- Rejected requests held a concurrency slot, starving an overloaded circuit.
- A partial SetConfigThreadSafe crashed the metric event stream.
- A partial Closer config let an in-flight request close a just-opened circuit.
- The hystrix Opener could open below its threshold at a bucket boundary.
- Config.Merge wrote into storage shared with other copies of a Config.
- Go hung on runtime.Goexit and called GoLostErrors(nil, nil) on late success.
- Reconfiguring after an abandoned Go call could crash.
- Prevent ignored ForcedClosed.
- An error exactly at the deadline was not counted as a timeout.
- Custom open/close logic that cannot be JSON encoded made expvar output invalid.
- Manager.Var could deadlock against CreateCircuit.
- Error percentages were truncated or could exceed 100%.
- HEAD requests to the event stream never returned.

Performance (hystrix + rolling stats, serial / parallel on 4 cores):
- Success with the default timeout: -4..7% / -10..13%.
- Wrapped or network errors: -32..43% / -33..43%, two fewer allocations.
- Open circuit: -20..27% / -17..36%. Throttled: -24..36% / -38..75%.
- No request path allocates more than before; allocs_test.go pins this.

Slower: RollingCounter.TotalSum takes a lock (0.5ns -> 25ns), and an empty
runFunc with no timeout and no stats is about 26ns slower when contended.

267 of 267 new or added lines in 12 files covered. (100.0%)

2363 of 2408 relevant lines covered (98.13%)

267526.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43520049962.1 13 Nov 2026 10:34PM UTC 23
98.13
GitHub Action Run
Source Files on build 43520049962
  • Tree
  • List 23
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d8c209f7 on github
  • Prev Build on master (#38503034449)
  • Next Build on master (#43538328177)
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