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

stacklok / toolhive / 34976529838
71%

Build:
DEFAULT BRANCH: main
Ran 15 Sep 2026 01:49PM UTC
Jobs 1
Files 923
Run time 4min
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

15 Sep 2026 01:40PM UTC coverage: 70.685%. Remained the same
34976529838

push

github

web-flow
Tolerate MethodNotFound for optional capabilities in ListCapabilities (#6660)

Tolerate -32601 in ListCapabilities path

The ListCapabilities path (used by health checks and capability
aggregation) was missing the -32601 tolerance that the session-init
path already had. A backend that advertises the resources or prompts
capability but answers the corresponding list method with JSON-RPC
-32601 (Method not found) caused the entire backend to be marked
degraded/unavailable, silently dropping all of its tools.

The parent revision already gates on serverCaps.Resources/Prompts
before probing, so unadvertised capabilities are not called. This
change defends the remaining edge case where a backend advertises a
capability but does not implement the list method (e.g. Atlassian
Rovo, see #5231), aligning the ListCapabilities path with the
existing session-init tolerance.

Legacy path (queryResources, queryPrompts):
  - Detect mcp.ErrMethodNotFound and return an empty result set with
    a WARN log instead of propagating the error.

Modern path (modernEnumerate):
  - Set degradeNotFound=true for resources/list and prompts/list in
    modernListOptional, matching the existing resources/templates/list
    behavior. Update the modernListOptional doc comment to reflect
    that resources/list and prompts/list are no longer fatal.

tools/list remains strict when the backend advertises the tools
capability; advertising tools while returning MethodNotFound for
tools/list is treated as an inconsistent backend implementation.

Closes #6339

Signed-off-by: hellouz818 <hellouz818@gmail.com>

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

10 existing lines in 4 files now uncovered.

81546 of 115366 relevant lines covered (70.68%)

96.68 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
85.61
-2.88% pkg/transport/proxy/transparent/sse_response_processor.go
3
61.43
-4.29% pkg/state/runconfig.go
2
59.0
-0.21% pkg/workloads/manager.go
1
81.07
-0.12% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 34976529838.1 15 Sep 2026 01:49PM UTC 923
70.68
GitHub Action Run
Source Files on build 34976529838
  • Tree
  • List 923
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34976529838
  • f3dfc9ee on github
  • Prev Build on main (#34960141979)
  • Next Build on main (#35070099263)
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