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

stacklok / toolhive / 44293647456
75%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 11:28AM UTC
Jobs 1
Files 1036
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

18 Nov 2026 11:19AM UTC coverage: 73.536% (-0.008%) from 73.544%
44293647456

push

github

web-flow
Bind SPIFFE token exchange to the acting workload (#7176)

A wildcard SPIFFE association gives several workloads one client ID.
Re-exchanging a token without an actor token made the client ID the
outermost actor, so a sibling workload could exchange the result.
Reading nested act entries instead would base access on prior actors,
which RFC 8693 section 4.1 rules out.

A SPIFFE client that exchanges without an actor token now acts as its
verified SPIFFE ID, so the outermost act.sub always names the current
workload. A SPIFFE caller may exchange a ToolHive-issued token with its
client ID only when the token's sub or outermost act.sub is its own
SPIFFE ID. A may_act that names the client ID is still accepted.

Before: act.sub was the client ID for these exchanges, and a sibling
could exchange a re-exchanged token. After: act.sub is the SPIFFE ID,
client_id is unchanged, and the sibling gets invalid_grant.

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

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

16 existing lines in 5 files now uncovered.

97220 of 132208 relevant lines covered (73.54%)

883.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
19.87
-3.97% pkg/client/manager.go
4
59.0
-0.42% pkg/workloads/manager.go
3
83.93
-0.16% pkg/authserver/storage/redis.go
2
55.58
-0.52% pkg/transport/stdio.go
1
81.58
-0.12% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 44293647456.1 18 Nov 2026 11:28AM UTC 1036
73.54
GitHub Action Run
Source Files on build 44293647456
  • Tree
  • List 1036
  • Changed 10
  • Source Changed 2
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44293647456
  • 6be02c27 on github
  • Prev Build on main (#44283063223)
  • Next Build on main (#44299383516)
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