Skip to content

fix(ci): make the release Trivy image scan awareness-only - #850

Merged
c-vigo merged 1 commit into
release/0.4.0from
bugfix/849-release-trivy-awareness-only
Jul 4, 2026
Merged

c-vigo merged 1 commit into
release/0.4.0from
bugfix/849-release-trivy-awareness-only

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Forward-fix for the third 0.4.0 candidate failure (#849, diagnosis posted there). Again no tag consumed. Positive signal: everything the previous fixes touched now passes — validate, finalize, vulnix-gate, and the amd64 image + integration tests were green; the run died only at the Trivy step.

release.yml's Scan image for vulnerabilities was the last Debian-era blocking Trivy scanner (exit-code: '1', gated only by .trivyignore). It failed on ~14 HIGH / 0 CRITICAL findings in language-ecosystem packages embedded in shipped binaries — the same 2026-07 batch already triaged into .vulnixignore, which is why the blocking vulnix-gate passed. Under the ratified #637 posture the Nix image's blocking CVE control is the vulnix-gate + .vulnixignore; Trivy is defense-in-depth, awareness only:

  • security-scan.yml:145-154 — SBOM-mode scan, exit-code: '0', continue-on-error: true
  • ci.yml:323,334 — exit-code: '0' (why the same image passed the release PR's Security Scan check)

This aligns the release lane: exit-code: '0' + continue-on-error: true, table output retained in the job log.

Verification

  • Same image content passed ci.yml's Security Scan and the nightly-shaped dispatch today; vulnix-gate green on this very run.
  • just precommit (full suite, all files): green, exit 0.
  • Changelog entry added to the open ## [0.4.0] - TBD section.

Refs: #849

The build-and-test "Scan image for vulnerabilities" step was the last
Debian-era blocking Trivy scanner (exit-code 1 gated only by
.trivyignore). It failed the third 0.4.0 candidate on ~14 embedded
language-ecosystem HIGHs (gix-fs, thin-vec, quinn-proto, x/net, rekor,
sigstore) that are already triaged in .vulnixignore -- the blocking CVE
control for the Nix image is the vulnix-gate job (#639), which passed.
Align the step with the ratified #637 posture used by security-scan.yml
("defense in depth, awareness only") and ci.yml (exit-code 0):
non-blocking, table output kept in the job log as awareness signal.

Refs: #849
@c-vigo
c-vigo merged commit 80de2c5 into release/0.4.0 Jul 4, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/849-release-trivy-awareness-only branch July 4, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant