Health Check

Health check endpoint for Kubernetes liveness/readiness probes.

IMPORTANT: This endpoint must be extremely fast and lightweight.

  • No database operations
  • No external service calls
  • Just returns a static response

async def, deliberately (2026-09-09). As a plain def it ran in the shared thread pool, so during a class transition the probe queued behind 46 threads of dashboard reads and took 25 s — which is how two pods were pulled from the Service on 2026-09-08 while serving fine. A static return cannot block the loop; answering from the loop means the probe waits only for the loop's next turn, never for a thread.

get/health

Response

Successful Response

{"stackTrail":"paths:/health:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No changes recorded. 1 of the 25 revisions has no diff computed, so it could not be searched.