ci: libkazsign from self-hosted Forgejo mirror first, GitHub fallback (#118) #119

Merged
amiryahaya merged 2 commits from infra/118-kaz-mirror into main 2026-11-08 12:03:22 +01:00
Owner

GitHub release CDN sustained-504'd the pqc-kaz v2.0.2 asset today (2026-11-08) from both the self-hosted runner and local machines, for 30+ minutes — every api-ci/cd job died in the download step before building (PR #117 blocked twice).

Fix:

  • api-ci.yml + cd.yml now download kaz-sign-linux-x64.tar.gz from the new self-hosted mirror release kaz-mirror-v2.0.2 on this Forgejo (primary), with GitHub as fallback; retry budget raised (8x10s primary, 3x5s fallback).
  • Mirror integrity: the uploaded tar.gz is the genuine GitHub v2.0.2 asset (102106 bytes, fetched via api.github.com which was unaffected); extracted libkazsign.so sha256 eef30a8a... matches the repo's reference copy byte-for-byte.
  • desktop-release.yml (macOS/Windows assets) and the gitleaks/trivy downloads in security-ci.yml remain GitHub-hosted for now — tracked in #118 for the broader mirror pass.

This PR's own CI run exercises the new download step. Closes #118 partially (linux-x64 CI leg); remaining mirror assets tracked on #118.

GitHub release CDN sustained-504'd the pqc-kaz v2.0.2 asset today (2026-11-08) from both the self-hosted runner and local machines, for 30+ minutes — every api-ci/cd job died in the download step before building (PR #117 blocked twice). Fix: - api-ci.yml + cd.yml now download kaz-sign-linux-x64.tar.gz from the new self-hosted mirror release **kaz-mirror-v2.0.2** on this Forgejo (primary), with GitHub as fallback; retry budget raised (8x10s primary, 3x5s fallback). - Mirror integrity: the uploaded tar.gz is the genuine GitHub v2.0.2 asset (102106 bytes, fetched via api.github.com which was unaffected); extracted libkazsign.so sha256 eef30a8a... matches the repo's reference copy byte-for-byte. - desktop-release.yml (macOS/Windows assets) and the gitleaks/trivy downloads in security-ci.yml remain GitHub-hosted for now — tracked in #118 for the broader mirror pass. This PR's own CI run exercises the new download step. Closes #118 partially (linux-x64 CI leg); remaining mirror assets tracked on #118.
ci: download libkazsign from self-hosted Forgejo mirror first, GitHub fallback (#118)
Some checks failed
API CI / build-and-test (pull_request) Successful in 4m3s
Security CI / security-scan (pull_request) Failing after 1m10s
fb4c91a21b
GitHub's release CDN returned sustained 504s for the pqc-kaz v2.0.2 asset
on 2026-11-08 (from both the runner and local machines, ~30+ min) — every
api-ci/cd job died in the download step before building. The mirror
release (kaz-mirror-v2.0.2 on this Forgejo) is byte-verified against the
GitHub asset: libkazsign.so sha256 eef30a8a... Self-hosted is primary
(it shares fate with the Forgejo the runner already depends on), GitHub
kept as fallback, retry budget raised to 8x10s.
chore: retrigger CI (security-ci 11969 transient curl HTTP2 framing error on gitleaks download)
All checks were successful
API CI / build-and-test (pull_request) Successful in 4m56s
Security CI / security-scan (pull_request) Successful in 3m8s
f1c2ec9712
Sign in to join this conversation.
No description provided.