fix(runtime): watchdog canonical liveness

This commit is contained in:
DCCONSTRUCTIONS
2026-08-26 15:26:17 +03:00
parent 4bcc35c1a0
commit 30227b661f
2 changed files with 15 additions and 4 deletions
+11
View File
@@ -528,6 +528,17 @@ async def request_validation_error_handler(
return JSONResponse(status_code=422, content={"detail": INVALID_REQUEST_DETAIL})
@app.get("/api/liveness")
async def liveness() -> dict[str, object]:
"""Prove only that the canonical event loop is responsive."""
return {
"ok": True,
"status": "alive",
"service": "mission-core-control-plane",
}
@app.get("/api/health")
def health() -> dict[str, Any]:
return build_runtime_readiness(