project-nomad/.github/workflows
Chris Sherwood ceabc2c72c ci: follow redirects correctly in collection URL validator
The prior --max-filesize 1 aborted on the 301 redirect page's own body
before curl could follow it to the mirror, so the validator reported HTTP
301 for every URL and failed the whole catalog (100+ URLs that are actually
valid). download.kiwix.org 301-redirects both valid and dead files to a
mirror, so the redirect must be followed to learn the real status.

Drop --max-filesize and rely on Range: bytes=0-0 (mirrors return 206 after
one byte) with the body discarded to /dev/null and --max-time as the bound.
Verified against a sample across devdocs/libretexts/stack_exchange/maps/zimit
(all 206) and a known-dead URL (404).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 13:16:54 -07:00
..
build-admin-on-pr.yml ci: add build check for PRs 2026-03-25 20:41:53 +00:00
build-disk-collector.yml ci: upgrade GitHub Actions to latest versions (#362) 2026-04-03 14:26:50 -07:00
build-primary-image.yml ci: upgrade GitHub Actions to latest versions (#362) 2026-04-03 14:26:50 -07:00
build-sidecar-updater.yml ci: bump checkout action veon build-sidecar and validate-collections 2026-03-25 21:29:51 +00:00
release.yml ci: ensure tags are force fetched on semantic release 2026-04-21 14:26:28 -07:00
validate-collection-urls.yml ci: follow redirects correctly in collection URL validator 2026-06-24 13:16:54 -07:00