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

stacklok / toolhive / 24191725472
66%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 01:10PM UTC
Jobs 1
Files 615
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

09 Apr 2026 01:04PM UTC coverage: 65.058% (+0.05%) from 65.01%
24191725472

push

github

web-flow
Coerce types for non-advertised backend tools in composite workflows (#4671)

When backend tools are excluded from advertising via `excludeAll` or
`filter`, the workflow engine could not find their `InputSchema` for
argument type coercion. This caused string arguments (e.g. "42") to be
forwarded to the backend as-is instead of being coerced to the correct
type (e.g. float64(42)), resulting in backend rejection.

Root cause: `ProcessPreQueriedCapabilities` only returned the advertised
tool list. Sessions stored only those tools, and the workflow engine
used `sess.Tools()` for schema lookup — so hidden tools were invisible
to it.

Fix:
- `ProcessPreQueriedCapabilities` now returns both `advertisedTools`
  (filtered, for MCP clients) and `allResolvedTools` (every resolved
  tool regardless of filter, for internal schema lookup).
- `MultiSession` gains `AllTools() []vmcp.Tool`, backed by the new
  `allTools` field on `defaultMultiSession`.
- The per-session workflow engine is built from `sess.AllTools()` so it
  can coerce arguments for any backend tool, whether advertised or not.

Fixes #4287

Co-authored-by: taskbot <taskbot@users.noreply.github.com>

44 of 51 new or added lines in 6 files covered. (86.27%)

11 existing lines in 5 files now uncovered.

55706 of 85625 relevant lines covered (65.06%)

62.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
12.5
-0.08% pkg/vmcp/aggregator/mocks/mock_interfaces.go
1
90.68
0.07% pkg/vmcp/aggregator/default_aggregator.go
1
91.67
0.11% pkg/vmcp/session/factory.go

Coverage Regressions

Lines Coverage ∆ File
3
22.99
2.87% pkg/client/manager.go
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
2
51.71
-0.19% pkg/workloads/manager.go
1
12.5
-0.08% pkg/vmcp/aggregator/mocks/mock_interfaces.go
Jobs
ID Job ID Ran Files Coverage
1 24191725472.1 09 Apr 2026 01:10PM UTC 615
65.06
GitHub Action Run
Source Files on build 24191725472
  • Tree
  • List 615
  • Changed 17
  • Source Changed 7
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24191725472
  • ccad93ae on github
  • Prev Build on main (#24190495091)
  • Next Build on main (#24193847747)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc