fix(ci): download pinned Trivy asset through GitHub API on HTTP failure #117

Merged
bsodfather merged 1 commits from fix/trivy-asset-api-20261108 into main 2026-11-08 10:59:44 +00:00
Owner

The pinned Trivy browser-download URL now consistently returns HTTP504 from both the runner host and its job container. GitHub Release Assets API successfully returns the identical archive with the pinned SHA256. Add a fixed API fallback for that exact asset; preserve scanner version/hash, database freshness and all image gates. Both routes failing or a bad hash still stop before extraction or execution.

Validation:98 focused tests passed; independent quick review found no issues. Independent real-container download through API matched the exact pinned checksum. No product changes, asset replacement, tag movement or production deployment. Native CI is run sequentially while CT108 capacity is being resolved.

The pinned Trivy browser-download URL now consistently returns HTTP504 from both the runner host and its job container. GitHub Release Assets API successfully returns the identical archive with the pinned SHA256. Add a fixed API fallback for that exact asset; preserve scanner version/hash, database freshness and all image gates. Both routes failing or a bad hash still stop before extraction or execution. Validation:98 focused tests passed; independent quick review found no issues. Independent real-container download through API matched the exact pinned checksum. No product changes, asset replacement, tag movement or production deployment. Native CI is run sequentially while CT108 capacity is being resolved.
bsodfather added 1 commit 2026-11-08 10:24:35 +00:00
fix(ci): fall back to pinned GitHub asset API for Trivy
CI / UI Checks (pull_request) Successful in 11s
CI / Rust Checks (pull_request) Successful in 25m14s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Successful in 1s
CI / Deploy (pull_request) Skipped
35a21f8ab5
bsodfather merged commit cfe11a0a04 into main 2026-11-08 10:59:44 +00:00
Sign in to join this conversation.