infra: libkazsign download is a CI single point of failure on GitHub CDN #118

Closed
opened 2026-11-08 10:56:57 +01:00 by amiryahaya · 0 comments
Owner

Seen on PR #117 (runs 11958/11959 + retrigger 11962/11963): both workflows failed before building because https://github.com/amiryahaya/pqc-kaz/releases/download/v2.0.2/kaz-sign-linux-x64.tar.gz returned 504 from BOTH the self-hosted runner and local machines, while GitHub status showed green and the release asset exists (102 KB). Four curl retries across ~15s did not survive it.

Hardening (P2):

  1. Mirror the pqc-kaz release artifacts (sign + kem, linux-x64 + macos-arm64) to a Forgejo release on forgejo.primatekun.tech and point .github/workflows/api-ci.yml + security-ci.yml at the self-hosted URL first, GitHub as fallback (or vice versa). A GitHub outage then cannot block CI/CD.
  2. Bump the download steps to --retry 8 --retry-delay 15 --retry-all-errors for ~2min of CDN-blip tolerance.
  3. Consider caching the extracted natives as a Forgejo Actions cache keyed on KAZSIGN_VERSION.

Milestone: M2 (infra resilience, alongside runner-isolation review on #14).

Seen on PR #117 (runs 11958/11959 + retrigger 11962/11963): both workflows failed before building because https://github.com/amiryahaya/pqc-kaz/releases/download/v2.0.2/kaz-sign-linux-x64.tar.gz returned 504 from BOTH the self-hosted runner and local machines, while GitHub status showed green and the release asset exists (102 KB). Four curl retries across ~15s did not survive it. Hardening (P2): 1. Mirror the pqc-kaz release artifacts (sign + kem, linux-x64 + macos-arm64) to a Forgejo release on forgejo.primatekun.tech and point .github/workflows/api-ci.yml + security-ci.yml at the self-hosted URL first, GitHub as fallback (or vice versa). A GitHub outage then cannot block CI/CD. 2. Bump the download steps to --retry 8 --retry-delay 15 --retry-all-errors for ~2min of CDN-blip tolerance. 3. Consider caching the extracted natives as a Forgejo Actions cache keyed on KAZSIGN_VERSION. Milestone: M2 (infra resilience, alongside runner-isolation review on #14).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
primatekuntech/failsulit#118
No description provided.