Skip to content

fix: handle curl timeout failures#11

Closed
taigrr wants to merge 1 commit into
mainfrom
cd/handle-curl-timeouts
Closed

fix: handle curl timeout failures#11
taigrr wants to merge 1 commit into
mainfrom
cd/handle-curl-timeouts

Conversation

@taigrr

@taigrr taigrr commented Jul 3, 2026

Copy link
Copy Markdown

Summary

  • add explicit curl connect and total timeouts to the uptime check
  • keep the workflow writing a log entry when curl exits nonzero
  • render missing log entries as missing instead of down

Fixes #8

Verification

  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/ping.yaml"); puts "yaml ok"'\n- git diff --check\n- simulated status mapping for 200, 302, 500, curl exit 28, and curl exit 56

@taigrr taigrr closed this Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle curl timeouts

1 participant