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

stacklok / toolhive / 18777274298

24 Oct 2025 10:38AM UTC coverage: 47.153% (+0.01%) from 47.14%
18777274298

push

github

web-flow
Add /health endpoint to all proxy types for Kubernetes health probes (#2315)

Add health endpoint to all proxy types for Kubernetes probes

This ensures both transparent and streamable proxies expose a /health
endpoint that Kubernetes readiness/liveness probes can check. For remote
proxies (where we can't ping authenticated MCP servers), the health
checker is created without an MCP pinger, making it a simple liveness
check that returns 200 OK if the proxy HTTP server is running.

Changes:
- Transparent proxy now always creates health checker (with nil pinger for remote)
- Streamable proxy now includes health checker and /health endpoint
- Fixed hardcoded "sse" transport type to use actual transportType parameter

Fixes #2312

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

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

2 existing lines in 1 file now uncovered.

18743 of 39749 relevant lines covered (47.15%)

15.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.06
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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