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) |
||
|---|---|---|
| .. | ||
| internal | ||
| public | ||