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

stacklok / toolhive / 21817718197 / 1
62%
main: 62%

Build:
DEFAULT BRANCH: main
Ran 09 Feb 2026 08:37AM UTC
Files 509
Run time 10s
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

09 Feb 2026 08:29AM UTC coverage: 61.091% (+0.06%) from 61.03%
21817718197.1

push

github

web-flow
Exclude unhealthy backends from vMCP capability aggregation (#3642)

* Exclude unhealthy backends from vMCP capability aggregation

Implement backend health filtering to prevent exposing tools from
unavailable backends when circuit breakers are open, addressing
issue #3036 acceptance criterion.

When backends become unhealthy (circuit breaker open, authentication
failures, unknown status), their tools are automatically excluded from
the aggregated capabilities returned to clients. When backends recover,
tools are automatically restored on the next session initialization.

Changes:
  - Add filterHealthyBackends() in discovery middleware to exclude
    unhealthy/unknown/unauthenticated backends from aggregation
  - Include healthy and degraded backends (operational but slow)
  - Move circuit breaker and health check validation from commands.go
    to pkg/vmcp/config/validator.go for better separation of concerns
  - Add comprehensive unit tests for backend filtering (8 test cases)
  - Add validation tests for failure handling config (11 test cases)
  - Update E2E circuit breaker test with capability filtering notes

Related-to: #3036

* reduce tests to avoid timeout

* changes from review

---------

Co-authored-by: taskbot <taskbot@users.noreply.github.com>

41767 of 68369 relevant lines covered (61.09%)

78.13 hits per line

Source Files on job 21817718197.1
  • Tree
  • List 509
  • Changed 8
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21817718197
  • 4683b298 on github
  • Prev Job for on main (#21817293126.1)
  • Next Job for on main (#21818010856.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc