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

stacklok / toolhive / 45267984000
75%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 09:26PM UTC
Jobs 1
Files 1057
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

23 Nov 2026 09:16PM UTC coverage: 73.969% (+0.02%) from 73.952%
45267984000

push

github

web-flow
Gate ID-JAG subject resolution behind a setting (#7254)

AS-2 cannot be told that an issuer's ID-JAGs name a user in its own user
table: every redemption issues <iss>#<sub>, which is not a local user,
so the gateway cannot find that user's connections. This adds the
per-issuer setting that selects resolving the subject to a local user,
closed by a code gate until resolution itself lands.

Two Go-only (json:"-") settings on JWTBearerGrantPolicy, mirrored on
JWTBearerIssuerPolicyRunConfig and copied by applyJWTBearerPolicies so
embedders using inbound_grants reach them: subject_mode (namespaced, the
default, or resolve) and actor_issuers (act.iss values to accept besides
the ID-JAG's own iss; not yet checked at redemption). Config files and
the CRD cannot set them.

Startup refuses an unknown subject_mode, actor_issuers without resolve,
resolve with subject_bindings, resolve on an issuer that accepts plain
jwt_bearer assertions, and resolve without an OIDC first upstream. The
last one runs in RunConfig.Validate, before upstream registration, and
again in Config.Validate. subject_bindings stays required for namespaced
issuers only. A resolve issuer skips the subject-binding check at
redemption.

The unexported constant delegatedAccessEnabled (false) refuses every
redemption from a resolve issuer with access_denied / subject_unknown
after the client-audience check and before the jti is consumed, and the
server logs one WARN at startup naming the affected issuers. Namespaced
issuers are unchanged.

Closes #7244

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

80 of 84 new or added lines in 6 files covered. (95.24%)

2 existing lines in 2 files now uncovered.

99158 of 134053 relevant lines covered (73.97%)

874.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
90.0
pkg/authserver/server/tokenexchange/subject_mode.go

Coverage Regressions

Lines Coverage ∆ File
1
94.24
0.0% pkg/authserver/storage/memory.go
1
94.66
-0.76% pkg/vmcp/composer/dag_executor.go
Jobs
ID Job ID Ran Files Coverage
1 45267984000.1 23 Nov 2026 09:26PM UTC 1057
73.97
GitHub Action Run
Source Files on build 45267984000
  • Tree
  • List 1057
  • Changed 8
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45267984000
  • a77ba4cc on github
  • Prev Build on main (#45262165136)
  • Next Build on main (#45385265890)
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