Adds a /health endpoint that returns {"ok":true,"status":"live"} (HTTP 200) when the service and database are healthy, or HTTP 503 with {"ok":false,"status":"database unreachable"} if the DB check fails.
No authentication required (suitable for reverse proxy health checks, uptime monitors, load balancers)
Verifies database connectivity with a SELECT 1 probe
Matches the same JSON schema used by itstheclaw ({"ok":true,"status":"live"})
This is needed by the Caddy reverse proxy health check tests for action-gateway.dominat.us.
Adds a `/health` endpoint that returns `{"ok":true,"status":"live"}` (HTTP 200) when the service and database are healthy, or HTTP 503 with `{"ok":false,"status":"database unreachable"}` if the DB check fails.
- No authentication required (suitable for reverse proxy health checks, uptime monitors, load balancers)
- Verifies database connectivity with a `SELECT 1` probe
- Matches the same JSON schema used by itstheclaw (`{"ok":true,"status":"live"}`)
This is needed by the Caddy reverse proxy health check tests for `action-gateway.dominat.us`.
Returns {"ok":true,"status":"live"} with HTTP 200 when the service
is running and the database is accessible. Returns HTTP 503 if the
database check fails. No authentication required.
oc
merged commit f6fb18318e into main2026-03-21 15:34:24 -07:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds a
/healthendpoint that returns{"ok":true,"status":"live"}(HTTP 200) when the service and database are healthy, or HTTP 503 with{"ok":false,"status":"database unreachable"}if the DB check fails.SELECT 1probe{"ok":true,"status":"live"})This is needed by the Caddy reverse proxy health check tests for
action-gateway.dominat.us.Returns {"ok":true,"status":"live"} with HTTP 200 when the service is running and the database is accessible. Returns HTTP 503 if the database check fails. No authentication required.