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

stacklok / toolhive / 29750174539
69%

Build:
DEFAULT BRANCH: main
Ran 20 Jul 2026 02:26PM UTC
Jobs 1
Files 806
Run time 2min
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

20 Jul 2026 02:19PM UTC coverage: 68.733% (+0.003%) from 68.73%
29750174539

push

github

web-flow
Bound delegated token audience by subject token (#5882)

* Bound delegated token audience by subject token

Token exchange bounded the delegated token's scopes by the subject
token but not its audience. A confidential client registered for
audiences A and B could exchange a user token minted only for A into a
delegated token for B — an escalation to a resource the user never
consented to.

Add ensureAudienceSubsetOfSubject, enforced after all audiences are
granted, so every granted audience must be covered by the subject
token's own aud. Delegation narrows, never broadens, the resource
boundary, mirroring how grantScopes already bounds scopes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* Group audience granting to bound function complexity

Extract the audience grant sequence and subset check into
grantAndBoundAudiences, keeping HandleTokenEndpointRequest under the
gocyclo threshold. No behavior change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

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

14 existing lines in 5 files now uncovered.

75316 of 109577 relevant lines covered (68.73%)

72.15 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
67.04
-0.35% pkg/workloads/manager.go
3
64.29
-4.29% pkg/state/runconfig.go
3
49.06
-0.63% pkg/transport/stdio.go
2
96.05
0.0% pkg/authserver/storage/memory.go
2
93.94
-6.06% pkg/foreach/foreach.go
Jobs
ID Job ID Ran Files Coverage
1 29750174539.1 20 Jul 2026 02:26PM UTC 806
68.73
GitHub Action Run
Source Files on build 29750174539
  • Tree
  • List 806
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29750174539
  • 62496e94 on github
  • Prev Build on main (#29749964578)
  • Next Build on main (#29750232147)
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