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

stacklok / toolhive / 19077779662
51%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2025 05:49PM UTC
Jobs 1
Files 342
Run time 3min
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

04 Nov 2025 05:43PM UTC coverage: 48.216% (-0.001%) from 48.217%
19077779662

push

github

web-flow
Fix vmcp tool schema double-nesting bug (#2456)

The vmcp server was incorrectly wrapping tool InputSchema (which is
already a complete JSON Schema with type, properties, and required
fields) in an additional ToolInputSchema struct, causing invalid
double-nesting.

This resulted in schemas like:
{
  "type": "object",
  "properties": {
    "properties": {...},
    "required": [...],
    "type": "object"
  }
}

Instead of the correct:
{
  "type": "object",
  "properties": {...},
  "required": [...]
}

VSCode and other strict MCP clients reject these malformed schemas with
validation errors like "Incorrect type. Expected one of object, boolean
(at /properties/required)".

The fix uses RawInputSchema to marshal the complete schema as-is,
avoiding the double-nesting issue. Added comprehensive tests to verify
the fix and prevent regression.

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

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

10 of 10 new or added lines in 1 file covered. (100.0%)

6 existing lines in 2 files now uncovered.

21779 of 45170 relevant lines covered (48.22%)

37.46 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
96.5
-2.1% cmd/thv-operator/pkg/sources/git.go
3
46.27
-0.75% pkg/transport/stdio.go
Jobs
ID Job ID Ran Files Coverage
1 19077779662.1 04 Nov 2025 05:49PM UTC 342
48.22
GitHub Action Run
Source Files on build 19077779662
  • Tree
  • List 342
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19077779662
  • 5326b9b7 on github
  • Prev Build on main (#19077774703)
  • Next Build on main (#19091182100)
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