clawdie-ai/docs
Operator & Claude Code 5ee8debfd5 docs(host-db): review of 371b237 — readiness wait needs a real probe
Improvement over no-wait, but two follow-ups before §E is closed:

- default probe is `tcpReachable` — pg opens its socket during WAL
  recovery while rejecting queries with "starting up", so TCP-open
  is not the same as accepting connections. Need a SELECT 1 /
  pg_isready check.
- wait runs inside the 5-minute periodic controlplane check, not at
  Mevy bootstrap. If anything in startup touches DB before the
  first tick, the wait does not gate the actual race.

Plus: 30s default may be tight post-incident, no logs during the
wait, no env override, post-deadline extra probe makes timeout
fuzzy, and the "3 failed tests" trailer is still present.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---
Build: pass | Tests: FAIL — Tests  3 failed | 2081 passed (2084)
2026-05-01 11:44:36 +02:00
..
internal docs(host-db): review of 371b237 — readiness wait needs a real probe 2026-05-01 11:44:36 +02:00
public Document tenant-site verify states 2026-04-29 12:04:25 +02:00