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

stacklok / toolhive / 45822358579
75%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2026 12:51PM UTC
Jobs 1
Files 1079
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

26 Nov 2026 12:43PM UTC coverage: 74.502% (+0.003%) from 74.499%
45822358579

push

github

web-flow
Pass through only backend-sent structuredContent (#7309)

* Pass through only backend-sent structuredContent

When a backend tool result had no structuredContent, vMCP built one
from the content array (ContentArrayToMap) and returned it to clients
on plain pass-through calls. Clients that read structuredContent first
got {"text": "..."} instead of the tool's output, and blob resources
and images had their base64 payload copied into structuredContent.

The backend client and the session connector now keep structuredContent
only when the backend sent an object. Composite workflows are
unaffected: the workflow engine already builds step output from content
when structuredContent is nil. The Legacy result builders now omit the
member instead of encoding a typed nil map as "structuredContent": null.

Fixes #7174

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nils Berberich <29674072+nilsberberich@users.noreply.github.com>

* Document code mode result without text content

Without a synthesized structuredContent, an inner tool result that has
no text content item (for example only an image or a blob resource)
reaches code mode scripts as None. State this in the toMCPResult
comment and the architecture doc, and pin it with a decorator test so
the behavior stays deliberate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nils Berberich <29674072+nilsberberich@users.noreply.github.com>

---------

Signed-off-by: Nils Berberich <29674072+nilsberberich@users.noreply.github.com>
Co-authored-by: Nils Berberich <29674072+nilsberberich@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

17 of 18 new or added lines in 7 files covered. (94.44%)

19 existing lines in 8 files now uncovered.

102409 of 137458 relevant lines covered (74.5%)

986.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
59.92
0.0% pkg/vmcp/server/sessionmanager/factory.go

Coverage Regressions

Lines Coverage ∆ File
6
72.34
-6.38% pkg/secrets/keyring/keyctl_linux.go
3
96.34
-3.66% pkg/auth/obo/cache/cache.go
3
64.29
-21.43% pkg/authserver/upstream/tokens.go
2
73.19
-0.27% pkg/transport/proxy/streamable/streamable_proxy.go
2
91.94
-1.61% pkg/vmcp/aggregator/caching_aggregator.go
1
94.24
0.0% pkg/authserver/storage/memory.go
1
89.26
-0.12% pkg/transport/proxy/transparent/transparent_proxy.go
1
81.82
0.12% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 45822358579.1 26 Nov 2026 12:51PM UTC 1079
74.5
GitHub Action Run
Source Files on build 45822358579
  • Tree
  • List 1079
  • Changed 20
  • Source Changed 8
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45822358579
  • e7becbf4 on github
  • Prev Build on main (#45818621907)
  • Next Build on main (#45823908408)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc