Draft: Add gRPC health check endpoint to agent server

Timo Furrer
2026-03-24T15:04:54Z

feat: Add gRPC health check endpoint to agent server

Implement the standard grpc.health.v1.Health service on the gRPC listener to enable protocol-aware health checks from HAProxy. The health check endpoint reports SERVING status when the server is running and NOT_SERVING during shutdown.

This allows HAProxy to perform proper application-level health checks instead of relying on TCP-level checks, improving reliability and enabling more accurate load balancing decisions.

Closes #815

Review Checklist

Be sure to consider the scalability and availability impact of these changes by evaluating the impact of them at scale.