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

stacklok / toolhive / 45615735519
75%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 12:47PM UTC
Jobs 1
Files 1066
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

25 Nov 2026 12:38PM UTC coverage: 74.113% (-0.01%) from 74.123%
45615735519

push

github

web-flow
Log backend tool errors at Debug and count them (#7300)

When a backend answers tools/call with isError, the vMCP backend client logged a WARN line carrying the text of the result's first content block.
A caller can trigger that line on every call, and a tool's error text often repeats the call's arguments, such as a query the backend could not parse, an identifier, or a file name, so a failed call could write the caller's input into the vMCP logs at the default level.
The vMCP log level setting can only switch debug on, so operators had no way to keep that text out.
The line now logs at Debug with the same message and fields, as code mode does for a failed script.
The backend telemetry decorator counts these results in a new toolhive_vmcp_backend_tool_errors counter with the attributes of toolhive_vmcp_backend_requests, once per call on both the Legacy and the Modern path, because toolhive_vmcp_backend_errors counts only calls that return a Go error.
The client still receives the full result.
toolResultFromMCP takes its logger as a parameter, so the test asserts on the line without swapping the process-wide slog default.
Composite tool workflows still log a failed step's error text in their own lines, and this change leaves them as they are.

Signed-off-by: Aleksandr Filippov <71711753+alex-feel@users.noreply.github.com>

17 of 23 new or added lines in 2 files covered. (73.91%)

28 existing lines in 8 files now uncovered.

100094 of 135056 relevant lines covered (74.11%)

871.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
75.4
6.83% pkg/vmcp/internal/backendtelemetry/backendtelemetry.go

Coverage Regressions

Lines Coverage ∆ File
8
59.0
-0.83% pkg/workloads/manager.go
6
19.87
-3.97% pkg/client/manager.go
6
72.34
-6.38% pkg/secrets/keyring/keyctl_linux.go
2
94.24
-0.14% pkg/authserver/storage/memory.go
2
63.64
-18.18% pkg/process/kill_unix.go
2
73.19
-0.27% pkg/transport/proxy/streamable/streamable_proxy.go
1
88.02
-0.12% pkg/transport/proxy/transparent/transparent_proxy.go
1
81.58
-0.12% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 45615735519.1 25 Nov 2026 12:47PM UTC 1066
74.11
GitHub Action Run
Source Files on build 45615735519
  • Tree
  • List 1066
  • Changed 11
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45615735519
  • 8f295722 on github
  • Prev Build on main (#45597106575)
  • Next Build on main (#45617794466)
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