Readiness endpoint — answers whether this replica can currently serve.
Distinct from /_healthcheck, which is liveness: a static 200 proving the
process is up and its event loop is turning. Liveness answering 200 during a
Redis partition is correct — restarting the process would not reconnect
Redis any faster — but it must not be what a load balancer uses to decide
whether to keep sending logins here. That is this route's job.
Mount it on the host app ahead of the composed auth router so it stays
reachable while the auth pipeline is degraded.
Readiness endpoint — answers whether this replica can currently serve.
Distinct from
/_healthcheck, which is liveness: a static 200 proving the process is up and its event loop is turning. Liveness answering 200 during a Redis partition is correct — restarting the process would not reconnect Redis any faster — but it must not be what a load balancer uses to decide whether to keep sending logins here. That is this route's job.Mount it on the host app ahead of the composed auth router so it stays reachable while the auth pipeline is degraded.