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

stacklok / toolhive / 19370017296
51%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2025 04:00PM UTC
Jobs 1
Files 371
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

14 Nov 2025 03:54PM UTC coverage: 48.21% (-0.02%) from 48.23%
19370017296

push

github

web-flow
Fix backend capability name translation in vmcp (#2587)

When conflict resolution renames capabilities (e.g., prefix strategy
changes "fetch" to "fetch_fetch"), the backend client must translate
the client-facing name back to the original name when forwarding
requests to backends.

This fix centralizes name translation in the backend client by using
the `BackendTarget.GetBackendCapabilityName()` method for all capability
types (tools, resources, prompts).

Changes:
- Add name translation in CallTool(), ReadResource(), GetPrompt()
- Remove redundant translation from handler factory
- Update test expectations to match new behavior
- Add composite tools logging to config loader for visibility
- Document OriginalCapabilityName field with usage warnings
- Add comprehensive examples to GetBackendCapabilityName() method

The routing table already stores original capability names via
`OriginalCapabilityName` field, this fix ensures they're used correctly
when forwarding to backends.

Fixes composite tool execution where workflow steps reference prefixed
tool names but backends expect original names.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

1 of 19 new or added lines in 3 files covered. (5.26%)

23246 of 48218 relevant lines covered (48.21%)

36.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
0.0% cmd/vmcp/app/commands.go
15
26.42
-0.85% pkg/vmcp/client/client.go
Jobs
ID Job ID Ran Files Coverage
1 19370017296.1 14 Nov 2025 04:00PM UTC 371
48.21
GitHub Action Run
Source Files on build 19370017296
  • Tree
  • List 371
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19370017296
  • 1d3316fe on github
  • Prev Build on main (#19368769071)
  • Next Build on main (#19371465569)
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

© 2025 Coveralls, Inc