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

stacklok / toolhive / 20307224613
51%

Build:
DEFAULT BRANCH: main
Ran 17 Dec 2025 03:03PM UTC
Jobs 1
Files 406
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

17 Dec 2025 03:01PM UTC coverage: 50.204% (-0.03%) from 50.229%
20307224613

push

github

web-flow
fix: update workload status when health check fails for remote MCP servers (#3077)

* Update workload status on health check failure

When a remote MCP server becomes unreachable, the health check fails
and the proxy is stopped. However, the workload status was not being
updated, causing thv list to report the server as running even though
nothing was listening on the port.

This fix adds a callback mechanism that notifies the runner when a
health check fails, allowing it to update the workload status to
unhealthy.

Closes #3079

Signed-off-by: Frederic Le Feurmou <fredericlefeurmou@gmail.com>

* Update pkg/transport/types/transport.go

Removed the unused `OnHealthCheckFailed HealthCheckFailedCallback` code

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Signed-off-by: Frederic Le Feurmou <fredericlefeurmou@gmail.com>
Co-authored-by: Frédéric LE FEURMOU <fredericlefeurmou@users.noreply.github.com>
Co-authored-by: Muhammad Amir Ejaz <amir@stacklok.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

11 of 33 new or added lines in 4 files covered. (33.33%)

3 existing lines in 1 file now uncovered.

27907 of 55587 relevant lines covered (50.2%)

57.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
8.65
-0.03% cmd/thv/app/proxy.go
4
4.26
-0.09% pkg/transport/http.go
4
59.29
-0.64% pkg/transport/proxy/transparent/transparent_proxy.go
13
0.0
0.0% pkg/runner/runner.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
46.3
-0.72% pkg/transport/stdio.go
Jobs
ID Job ID Ran Files Coverage
1 20307224613.1 17 Dec 2025 03:03PM UTC 406
50.2
GitHub Action Run
Source Files on build 20307224613
  • Tree
  • List 406
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20307224613
  • 7c7db9ac on github
  • Prev Build on main (#20305543338)
  • Next Build on main (#20308364789)
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

© 2025 Coveralls, Inc