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

letsencrypt / pebble / 36970480394
9%
master: 8%

Build:
Build:
LAST BUILD BRANCH: persist-draft-02
DEFAULT BRANCH: master
Ran 02 Oct 2026 03:03PM UTC
Jobs 1
Files 18
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

02 Oct 2026 05:46AM UTC coverage: 9.475% (-0.002%) from 9.477%
36970480394

Pull #564

github

wallrj-cyberark
Fix deadlock from taking db lock while holding authz lock in Authz()

Authz() held the authorization's write lock while it looked up the
account, which takes the MemoryStore read lock. FindValidAuthorization
takes the same two locks in the opposite order: it holds the MemoryStore
read lock while it read-locks every authorization. Once a writer such as
AddAccount queues on the MemoryStore lock, the three goroutines wait on
each other and every later request that touches the db hangs.

Authz() also read-locked the order while holding the authz lock, which
is the reverse of the order used by Order.GetStatus.

Do the order and account lookups before taking the authz lock.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Pull Request #564: Fix deadlock from taking db lock while holding authz lock in Authz()

0 of 14 new or added lines in 1 file covered. (0.0%)

442 of 4665 relevant lines covered (9.47%)

1.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
0.0
0.0% wfe/wfe.go
Jobs
ID Job ID Ran Files Coverage
1 36970480394.1 02 Oct 2026 03:03PM UTC 18
9.47
GitHub Action Run
Source Files on build 36970480394
  • Tree
  • List 18
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #564
  • PR Base - main (#36477763631)
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