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

stacklok / toolhive / 46013789463
75%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2026 02:21PM UTC
Jobs 1
Files 1091
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

27 Nov 2026 02:12PM UTC coverage: 75.021% (+0.05%) from 74.974%
46013789463

push

github

web-flow
Surface delegated credential errors in vMCP (#7353)

* Surface delegated credential errors

Keep per-user credential failures distinct from backend failures so
clients can tell when to authorize a provider without seeing transport
or workflow context. Nothing produces these errors yet; this prepares
the call path for the outgoing strategy that reads the delegated
credential.

tools/call renders an authorization requirement as an isError result
naming the provider, and an unavailable credential as a fixed JSON-RPC
internal error, on both Legacy and Modern and through the Legacy
optimizer's call_tool. A denial still wins, then a URL elicitation
answer, so a later connect link is never hidden by the plain message.
Composite tools return these errors to the renderers instead of
flattening them into workflow text, and forEach keeps the cause. Legacy
resources/read and prompts/get send -32603 for an unavailable credential,
matching Modern.

Workflow steps do not retry these errors, and dispatch does not fall back
to Legacy or re-probe when the probe or a corrective re-probe fails on a
credential. An optional Modern list that fails on a credential still
degrades, but its WARN names the credential failure. A backend whose
credential fails during discovery is still left out of the tool list;
the docs record that limit.

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

* Regenerate CRD reference docs

The CRD reference generator scans pkg/vmcp/auth/types, and the new
DelegatedAuthRequiredError struct there adds an empty entry to the
generated page.

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

* Document code mode for delegated credential errors

A script's tool call goes to VMCP.CallTool directly, so neither tools/call
renderer runs on it: the script gets the error text and the outer call
answers with an ordinary tool result. Say so, and that a URL elicitation
cannot reach the client through a script.

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

---------

Co-aut... (continued)

132 of 134 new or added lines in 11 files covered. (98.51%)

5 existing lines in 3 files now uncovered.

104856 of 139769 relevant lines covered (75.02%)

980.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
82.37
0.56% pkg/vmcp/composer/workflow_engine.go

Coverage Regressions

Lines Coverage ∆ File
3
84.4
-0.16% pkg/authserver/storage/redis.go
1
96.77
-3.23% pkg/foreach/foreach.go
1
76.72
0.62% pkg/vmcp/server/serve_optimizer.go
Jobs
ID Job ID Ran Files Coverage
1 46013789463.1 27 Nov 2026 02:21PM UTC 1091
75.02
GitHub Action Run
Source Files on build 46013789463
  • Tree
  • List 1091
  • Changed 16
  • Source Changed 10
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46013789463
  • cfebc3d7 on github
  • Prev Build on main (#46009395187)
  • Next Build on main (#46019001757)
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