Skip to content

fix(engine): record advertised tool schema bytes - #1677

Merged
jhrozek merged 2 commits into
mainfrom
1675-tool-schema-bytes-in-request
Sep 17, 2026
Merged

jhrozek merged 2 commits into
mainfrom
1675-tool-schema-bytes-in-request

Conversation

@jhrozek

@jhrozek jhrozek commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Record the exact byte total of schemas in the final advertised tool list in request manifests.
  • Expose advertised_tool_schema_bytes through the target-bound debugger manifest view.
  • Build manifest tool decisions from catalog registration metadata so evidence does not refresh live tool specifications after request assembly.
  • Update engine API snapshots and changelog.

Fixes #1675

Verification

  • cd engine && go test -race ./...
  • task api:check
  • task docs

task test was run but encountered unrelated environment-sensitive failures in cmd/mecatui/embed (Unix socket bind) and internal/app secret-scrub environment assertions. task lint exceeded the 600-second timeout without reporting a lint finding.

jhrozek and others added 2 commits September 17, 2026 10:20
Record the exact total schema bytes in request manifests and expose the
content-free value through the debugger manifest view. Build manifest tool
decisions from catalog registration metadata so evidence does not refresh
live tool specifications after the provider request snapshot is formed.

Issue: #1675
The comment lost its "Specs returns..." opening line when new methods
were inserted above it, tripping golangci-lint's revive exported-comment
check.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@jhrozek
jhrozek merged commit 4a20eb4 into main Sep 17, 2026
34 checks passed
@jhrozek
jhrozek deleted the 1675-tool-schema-bytes-in-request branch September 17, 2026 11:23
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 21, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

diagnostics: record exact advertised tool-schema bytes in request manifests

1 participant