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

alexferl / zerohttp / 22928429868
94%

Build:
DEFAULT BRANCH: master
Ran 10 Mar 2026 11:10PM UTC
Jobs 1
Files 66
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

10 Mar 2026 11:10PM UTC coverage: 93.673% (+0.2%) from 93.511%
22928429868

push

github

web-flow
  fix: avoid double-locking in circuit breaker GetState (#73)

* fix: avoid double-locking in circuit breaker GetState

  GetState was holding the middleware's read lock while acquiring the
  circuit's read lock. While technically safe (multiple read locks can
  be held), it was inefficient.

  Changes:
  - Release middleware lock before acquiring circuit lock
  - Return early with default StateClosed if circuit doesn't exist
  - Only acquire circuit lock when needed

Signed-off-by: alexferl <me@alexferl.com>

* add missing test

Signed-off-by: alexferl <me@alexferl.com>

---------

Signed-off-by: alexferl <me@alexferl.com>

7 of 7 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

8143 of 8693 relevant lines covered (93.67%)

46.73 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
93.88
0.51% sse.go
Jobs
ID Job ID Ran Files Coverage
1 22928429868.1 10 Mar 2026 11:10PM UTC 66
93.67
GitHub Action Run
Source Files on build 22928429868
  • Tree
  • List 66
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22928429868
  • 4a20fe3b on github
  • Prev Build on master (#22927936641)
  • Next Build on master (#22928565790)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc