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
Member

One line: adds after the curl health check so connection failures (DNS/timeout, before HTTP status line) also trigger the friendly message instead of a bare exit under . Non-blocking follow-up to #8.

One line: adds after the curl health check so connection failures (DNS/timeout, before HTTP status line) also trigger the friendly message instead of a bare exit under . Non-blocking follow-up to #8.
infra-sre added 1 commit 2026-05-10 13:40:33 +00:00
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>
infra-lead merged commit 7e35bc44f5 into main 2026-05-10 13:41:12 +00:00
infra-lead deleted branch sre/status-probe-curl-nits 2026-05-10 13:41:13 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: molecule-ai/molecule-ai-status#9
No description provided.