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

stacklok / toolhive / 44104679898
75%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2026 02:43PM UTC
Jobs 1
Files 1032
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

17 Nov 2026 02:34PM UTC coverage: 73.442% (+0.02%) from 73.426%
44104679898

push

github

web-flow
Add an in-process delegated-agent flow test (#7171)

* Let two-server ID-JAG test helpers take a subject

The delegated-agent flow test needs an AS-2 bound to a real login's
subject, which is a UUID, and started with server options, and it
needs the minted ID-JAG checks for an issuer and subject other than
the defaults. Give startAS2 a subject and options, and move the body
of assertMintedIDJAGWithAct into assertIDJAGResponse, which takes
them. as2Env.redeem always redeems for the gateway resource, since
every caller passes it, including the one that came with the
actor-survives-redemption test. Share the loopback listener helper
and the real-login upstream config instead of copying them. Existing
tests are unchanged.

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

* Add the delegated-agent flow test

Start AS-1 and AS-2 in process on each storage backend, sign one
upstream user in twice through mockoidc, and bind AS-2 to the AS-1
subject the logins produce. AS-1 issues at+jwt access tokens and
runs a stub actor validator registered with the agent trust domain
as act issuer.

Open the session grant (ID-JAGs) and the schedule grant (refresh
tokens, with a horizon echoed exactly) from the real logins, check
what the server stored for each, and derive the scheduled run's
child grant. A reused login token gets token_used and the first
grant stays live until replay-revoke is built.

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

* Test ID-JAG issuance from the flow's grants

Mint ID-JAGs from the session grant and the scheduled run's child
through the actor validator, with act naming the agent's SPIFFE ID
in its trust domain, and an agent credential that caps the
lifetime. Pin the reasons a client parses: not_issuable, the actor
outcomes, the missing subject claims, and a grant that expires
while the validator runs.

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

* Test ID-JAG redemption and grant revocation

Redeem the flow's ID-JAGs at AS-2 and check the acces... (continued)

96703 of 131673 relevant lines covered (73.44%)

886.41 hits per line

Coverage Regressions

Lines Coverage ∆ File
70
83.46
0.34% cmd/thv-operator/api/v1beta1/mcpexternalauthconfig_types.go
57
85.32
-1.04% pkg/authserver/spiffe_trust.go
55
91.83
0.01% cmd/thv-operator/pkg/controllerutil/authserver.go
46
82.54
0.83% cmd/thv-operator/controllers/mcpexternalauthconfig_controller.go
2
80.0
-5.71% pkg/vmcp/backendregistry/registry.go
1
88.02
-0.12% pkg/transport/proxy/transparent/transparent_proxy.go
1
81.58
-0.12% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 44104679898.1 17 Nov 2026 02:43PM UTC 1032
73.44
GitHub Action Run
Source Files on build 44104679898
  • Tree
  • List 1032
  • Changed 21
  • Source Changed 12
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44104679898
  • 4c56212c on github
  • Prev Build on main (#44060606894)
  • Next Build on main (#44200962274)
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