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

mindersec / minder / 40931402014
65%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2026 06:40PM UTC
Jobs 1
Files 359
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

29 Oct 2026 06:30PM UTC coverage: 64.744% (+0.02%) from 64.726%
40931402014

push

github

web-flow
Fix concurrent first use of dynamic JWT validator (#6987)

The dynamic validator wrote to its allowedCerts map in getKeySet while
httprc read it through IsAllowed, with no locking. Concurrent first
requests could crash the server with "concurrent map writes".

Concurrent first requests for the same issuer could also be rejected
with "resource already exists" or "is not ready", because several
callers passed the IsRegistered check before any of them finished
Register. The discovery doc was also fetched on every validation.

Cache each allowed issuer's JWKS URL after discovery, and use
singleflight so concurrent callers for an issuer share one discovery
and registration. Nothing is cached on failure, so the next request
retries. The cache is only written after the allowedIssuers check, so
it stays bounded.

Guard allowedCerts and the issuer cache with separate locks, neither
held across Register (which calls IsAllowed). Switch Validator to
pointer receivers and pass a pointer to httprc.WithWhitelist so the
locks are not copied.

Fixes #6955
Fixes #6956

Signed-off-by: Nayem Ahmed <nym010203@gmail.com>

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

1 existing line in 1 file now uncovered.

22946 of 35441 relevant lines covered (64.74%)

58.36 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
69.7
-0.3% internal/authz/authz.go
Jobs
ID Job ID Ran Files Coverage
1 40931402014.1 29 Oct 2026 06:40PM UTC 359
64.74
GitHub Action Run
Source Files on build 40931402014
  • Tree
  • List 359
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40931402014
  • 005a6bed on github
  • Prev Build on main (#40930785379)
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