Skip to content

Bump toolhive-core for tool-schema ingestion fix#5990

Merged
JAORMX merged 1 commit into
mainfrom
bump-toolhive-core-schema-fidelity
Jul 25, 2026
Merged

Bump toolhive-core for tool-schema ingestion fix#5990
JAORMX merged 1 commit into
mainfrom
bump-toolhive-core-schema-fidelity

Conversation

@JAORMX

@JAORMX JAORMX commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Closes #5976. Part of #5743.

The §12 tool-schema ingestion fidelity defect — backend→vMCP ingestion silently dropping top-level JSON Schema keywords (oneOf/anyOf/allOf/enum) and fabricating an empty "type":"" — was fixed upstream in stacklok/toolhive-core#186 (ToolArgumentsSchema now preserves unmodeled top-level keywords via an Extra catch-all and emits "type" only when set). This bumps toolhive-core to pick up that fix and unskips the in-repo gate added in #5977, closing the ToolHive half of #5976.

  • go.mod/go.sum: toolhive-core v0.0.32 → the refactor: remove unused response channel #186 commit (plus minor transitive aws-sdk-go-v2 patch bumps that come with it).
  • Removed the t.Skip on TestRegression_ToolSchemaFidelity_PreservesCompositors (pkg/vmcp/client/schema_ingestion_regression_test.go); it now passes, pinning that a backend tool schema with a top-level oneOf is projected through ListCapabilitiesConvertToolInputSchema intact and gains no fabricated "type":"".

Type of change

  • Dependency update (with a test un-skip)

Test plan

  • Unit tests (task test)
  • Linting (task lint-fix)

TestRegression_ToolSchemaFidelity_PreservesCompositors flips from skipped to passing. Full task test is green except three pre-existing, environment-only failures unrelated to this change (no container runtime / no keyring in the sandbox), none in the touched packages.

Special notes for reviewers

🤖 Generated with Claude Code

The §12 tool-schema ingestion fidelity fix landed upstream in
stacklok/toolhive-core#186 (ToolArgumentsSchema now preserves top-level
JSON Schema keywords like oneOf/anyOf via an Extra catch-all and stops
fabricating an empty "type"). Bump toolhive-core to pick it up and unskip
the in-repo gate added in #5977, closing the ToolHive half of #5976.

The dependency is pinned to the exact #186 commit rather than to
toolhive-core main HEAD: HEAD also carries #185 (adopt go-sdk
v1.7.0-pre.3), a 2026-07-28 groundwork change tracked separately under
#5754 and out of scope here. Re-pin to a tagged release (v0.0.34+) once
one is cut that includes #186.

- go.mod/go.sum: toolhive-core v0.0.32 -> #186 commit (plus minor
  transitive aws-sdk patch bumps).
- Remove the t.Skip on TestRegression_ToolSchemaFidelity_PreservesCompositors;
  it now passes, pinning backend->vMCP ingestion of a top-level oneOf and
  the absence of a fabricated "type":"".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WG3mSjVGWNc8nfgbkdd79
@github-actions github-actions Bot added the size/XS Extra small PR: < 100 lines changed label Jul 25, 2026
@codecov

codecov Bot commented Jul 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.02%. Comparing base (fd01045) to head (faee824).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5990      +/-   ##
==========================================
+ Coverage   71.99%   72.02%   +0.03%     
==========================================
  Files         717      717              
  Lines       73977    73977              
==========================================
+ Hits        53257    53284      +27     
+ Misses      16918    16874      -44     
- Partials     3802     3819      +17     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JAORMX
JAORMX merged commit d65af0b into main Jul 25, 2026
81 of 82 checks passed
@JAORMX
JAORMX deleted the bump-toolhive-core-schema-fidelity branch July 25, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backend tool-schema ingestion drops top-level oneOf/anyOf/enum

2 participants