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

stacklok / toolhive / 23442649867
64%

Build:
DEFAULT BRANCH: main
Ran 23 Mar 2026 02:35PM UTC
Jobs 1
Files 575
Run time 2min
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

23 Mar 2026 02:32PM UTC coverage: 64.841% (-0.07%) from 64.914%
23442649867

push

github

web-flow
Prevent permanent backend unhealthy marking after startup race (#4290)

fix(vmcp): prevent permanent backend unhealthy marking after startup race

Health checks could permanently mark backends as unhealthy due to two
issues: shared http.DefaultTransport kept stale keep-alive connections
to replaced K8s pods returning 4xx indefinitely, and mcp-go sentinel
errors (ErrUnauthorized, ErrLegacySSEServer) were not recognized by
the error classification chain, causing auth failures to surface as
generic backend unavailability.

- Clone http.DefaultTransport per client factory call to isolate
  connection pools and avoid stale connections after pod replacement
- Map transport.ErrUnauthorized to ErrAuthenticationFailed and
  transport.ErrLegacySSEServer to ErrBackendUnavailable in
  wrapBackendError before falling back to string-based detection
- Add "unauthorized (401)" pattern to IsAuthenticationError to match
  mcp-go's ErrUnauthorized string format
- Poll DynamicRegistry version every 2s and trigger an immediate
  status report when backends are added or removed, rather than
  waiting for the full 30s reporting interval

Closes: #4278

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

8 of 21 new or added lines in 1 file covered. (38.1%)

138 existing lines in 1 file now uncovered.

50591 of 78023 relevant lines covered (64.84%)

215.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
47.7
-15.13% pkg/vmcp/client/client.go

Uncovered Existing Lines

Lines Coverage ∆ File
138
47.7
-15.13% pkg/vmcp/client/client.go
Jobs
ID Job ID Ran Files Coverage
1 23442649867.1 23 Mar 2026 02:35PM UTC 575
64.84
GitHub Action Run
Source Files on build 23442649867
  • Tree
  • List 575
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23442649867
  • fadfd8a9 on github
  • Prev Build on main (#23440487644)
  • Next Build on main (#23443011359)
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