发布

  • feat(health): add RegistryCheck for registry connectivity health checks (#2957)

    frostbyte_neo 发布于 2026-06-10 07:25:23 +00:00

    • Initial plan

    • feat(health): add RegistryCheck for registry connectivity health checks

    Add a RegistryCheck function to the health package that creates a health
    check verifying connectivity to the service registry. This enables
    Kubernetes readiness probes to detect when a service loses its connection
    to the registry (e.g. etcd).

    Usage:
    health.Register("registry", health.RegistryCheck(reg))

    • fix(health): simplify error assertion in registry check test

    Co-authored-by: copilot-swe-agent[bot] 198982749+Copilot@users.noreply.github.com

    下载附件