Add health check endpoints (/health and /ready) for container orchestration liveness and readiness probes.#104
Merged
lxowalle merged 3 commits intosipeed:mainfrom Feb 16, 2026
Conversation
Collaborator
|
Hi @fahadahmadansari111 , thanks for the PR. Could you please run |
Contributor
Author
|
@lxowalle - I have ran |
Collaborator
|
Good! Thanks! |
edgargomero
pushed a commit
to edgargomero/kntorclaw
that referenced
this pull request
Feb 16, 2026
…ration liveness and readiness probes. (sipeed#104) * added health endpoint * formatted files --------- Co-authored-by: lxowalle <83055338+lxowalle@users.noreply.github.com>
emadomedher
pushed a commit
to emadomedher/picoclaw
that referenced
this pull request
Feb 17, 2026
…ration liveness and readiness probes. (sipeed#104) * added health endpoint * formatted files --------- Co-authored-by: lxowalle <83055338+lxowalle@users.noreply.github.com>
Contributor
|
@fahadahmadansari111 Health check endpoints are super useful for anyone running PicoClaw in Kubernetes or Docker, nice addition with both liveness and readiness probes covered. We're forming the PicoClaw Dev Group on Discord to keep contributors connected. If you're interested, send an email to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add health check endpoints (
/healthand/ready) for container orchestration (Docker/Kubernetes) liveness and readiness probes.Changes
pkg/health/server.go— HTTP server with health endpointscmd/picoclaw/main.go— Integrated health server into gatewayDockerfile— AddedHEALTHCHECKdirectiveDetails
GET /health200if upGET /ready200when ready,503otherwiseUsage
Docker health check
docker inspect --format='{{.State.Health.Status}}' picoclaw-gatewayWhy