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

stacklok / toolhive / 45998502437
75%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2026 12:36PM UTC
Jobs 1
Files 1090
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 12:25PM UTC coverage: 74.968% (-0.01%) from 74.979%
45998502437

push

github

web-flow
Answer vMCP list calls from one aggregation (#7338)

* Answer list calls from one aggregation of the bound backend

A list call's server check and its items came from separate core
lookups. A backend that dropped out of the view between the two was
answered with an empty list and the token was spent; a transient
failure of one optional list looked like an empty list; a templates-only
backend that was unhealthy got 403 instead of 503; and the check ran a
second admission pass over every backend's items.

Add core.LookupBackendCapabilities, which returns one backend's admitted
items and its transiently unavailable lists from a single aggregation,
and answer list calls from it. The Modern client now reports which
optional lists it degraded to empty, and the aggregator carries that per
backend.

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

* Keep list-call visibility as ListBackends decides it

For a backend the lists leave out for its health, aggregate the whole
registry rather than the backend alone: conflict resolution depends on
which backends are aggregated together, so a hidden backend whose item
loses a conflict was answered 503 instead of 403 when aggregated alone.

A shared capability sweep whose leader's context ended no longer hands
its failure to the callers waiting on it, whatever the error: the
default aggregator turns a cancelled sweep into "no backend answered",
which a live list call then took as the backend failing discovery. The
core also checks its own context before treating that as not found.

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

* Refuse every list call that is not answered after the same work

An unknown server name was refused before any aggregation, while a
backend hidden from the caller was aggregated first, so the response
time, or an aggregation error's 503, told the two apart. Every name is
now looked up in one aggregation of the backends the lists include; a
listed backend that offers the call... (continued)

186 of 206 new or added lines in 8 files covered. (90.29%)

52 existing lines in 3 files now uncovered.

104691 of 139648 relevant lines covered (74.97%)

982.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
91.38
-2.91% pkg/vmcp/server/call_binding.go
8
88.04
0.78% pkg/vmcp/core/core_vmcp.go
1
85.51
0.28% pkg/vmcp/client/client.go

Coverage Regressions

Lines Coverage ∆ File
45
59.15
-4.65% pkg/workloads/manager.go
4
91.38
-2.91% pkg/vmcp/server/call_binding.go
3
0.0
-100.0% pkg/workloads/sysproc_unix.go
Jobs
ID Job ID Ran Files Coverage
1 45998502437.1 27 Nov 2026 12:36PM UTC 1090
74.97
GitHub Action Run
Source Files on build 45998502437
  • Tree
  • List 1090
  • Changed 13
  • Source Changed 8
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45998502437
  • 35c677f6 on github
  • Prev Build on main (#45983476176)
  • Next Build on main (#46006753112)
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