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

stacklok / toolhive / 43859054767
75%

Build:
DEFAULT BRANCH: main
Ran 16 Nov 2026 11:44AM UTC
Jobs 1
Files 1027
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

16 Nov 2026 11:35AM UTC coverage: 73.363% (+0.07%) from 73.294%
43859054767

push

github

web-flow
Validate the actor before issuing an ID-JAG (#7147)

A client with an actor profile already has to present an actor token,
but nothing checked it, so issuance refused such a client with
server_error. Issuing an ID-JAG for such a client now calls the
registered actor validator once per request, as the last check before
the mint, and that refusal is removed.

The validator is called in the second handler phase only, so the
first phase stays free of side effects. It receives the actor token,
its type, the client, the grant's user (subject, raw sub_id and the
upstream identity built from sub_id and upstream_subject) and the
configured target. A grant with only one of sub_id and upstream_subject,
or an inconsistent pair, is a server error before the validator runs.
One concurrency limiter per server is built in RefreshTokenFactory, so
every actor validation shares it. A refusal is logged once at Warn
with its reason and the redacted cause.

The ID-JAG still has no act claim, and its iat and exp are unchanged.
The act claim and the credential-bound exp come in the next branch.

Co-authored-by: Mecatl <noreply@mecatl.dev>

100 of 100 new or added lines in 3 files covered. (100.0%)

127 existing lines in 8 files now uncovered.

96108 of 131003 relevant lines covered (73.36%)

888.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
49
84.8
0.22% pkg/authserver/server_impl.go
26
96.1
0.01% pkg/authserver/config.go
21
92.86
0.0% pkg/authserver/server/provider.go
20
86.36
-0.54% pkg/authserver/spiffe_trust.go
6
63.89
4.37% pkg/workloads/manager.go
2
97.92
3.27% pkg/authserver/spiffe_association_registry.go
2
94.59
-1.8% pkg/cache/validating_cache.go
1
96.77
-3.23% pkg/foreach/foreach.go
Jobs
ID Job ID Ran Files Coverage
1 43859054767.1 16 Nov 2026 11:44AM UTC 1027
73.36
GitHub Action Run
Source Files on build 43859054767
  • Tree
  • List 1027
  • Changed 19
  • Source Changed 12
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43859054767
  • 3bae69ca on github
  • Prev Build on main (#43856962500)
  • Next Build on main (#43863910529)
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