project-nomad/.github
Chris Sherwood 330774312c ci: make collection URL validator robust to Range-ignoring mirrors
download.kiwix.org redirects to mirrors, some of which ignore the Range
header and stream the full body, so `curl --max-filesize 1` aborts with exit
63 (CURLE_FILESIZE_EXCEEDED). Under the step's default `bash -eo pipefail`,
that non-zero exit in the `HTTP_CODE=$(...)` assignment killed the whole job
on the first such URL, regardless of the URL being valid. The failure was
non-deterministic (depended which mirror the redirect picked).

Add `|| true` so the assignment can't trip `set -e`; curl still writes the
real %{http_code} (200/206) for the existing check, and a genuine 404 still
returns 404 with exit 0 and is still caught.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 13:09:23 -07:00
..
ISSUE_TEMPLATE docs: update feature request and issues config 2026-03-19 23:15:24 +00:00
scripts docs: fix release action to include all commit info 2026-02-11 22:48:27 -08:00
workflows ci: make collection URL validator robust to Range-ignoring mirrors 2026-06-24 13:09:23 -07:00
dependabot.yaml ci: configure dependabot to target rc branch 2026-03-11 20:35:52 +00:00