chore(ci): wrap curl with || echo 000 in uptime-probe health gate #9

Merged
infra-lead merged 1 commits from sre/status-probe-curl-nits into main 2026-05-10 13:41:12 +00:00

1 Commits

Author SHA1 Message Date
09412a76e4 chore(ci): wrap curl with || echo 000 in uptime-probe health gate
curl without -f returns non-zero on connection failure (DNS/timeout)
before reading the HTTP status line, causing a bare exit under set -euo
pipefail. Wrapping with || echo 000 ensures the friendly ::error::
message fires for all failure modes (HTTP 502 and connect failures alike).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 13:39:19 +00:00