Repository navigation
ci(release): gate publish on a hard vulnix CVE check - #769
Merged
c-vigo merged 1 commit intoJun 30, 2026
Merged
Conversation
Add a vulnix-gate job to the release workflow that the publish job needs:, so a release can no longer ship an image with an unexcepted HIGH/CRITICAL CVE that nightly vulnix would have blocked. The job reuses the same vulnix-gate / .vulnixignore check as the nightly security-scan, built from the finalized release commit's image closure. Wired into the rollback trigger alongside the other pre-publish jobs. Workflow YAML is not unit-testable, so TDD is skipped; validated with actionlint, yamllint, and pre-commit. Refs: #753
This was referenced Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #753. Refs #639.
Wires a hard vulnix CVE gate onto the release publish path (PR #670 review comment B2). Previously
vulnix-gatelived only in the nightlysecurity-scan.yml; thepublishjob inrelease.ymlhad no link to it, so the only CVE gate on the publish path was the per-arch Trivy step — which the repo documents as "largely dark" on a Nix image. A HIGH/CRITICAL CVE that nightly vulnix would have blocked could still ship in a release.Changes (
.github/workflows/release.ymlonly)vulnix-gatejob (needs: [validate, finalize]): provisions the Nix flake + uv via the existing./.github/actions/setup-env(provision-via-flake) — the same provisioningbuild-and-testuses — checks out the finalized release commit, builds the image package closure (.#devcontainerImageEnv), runs vulnix, and reusesvig_utils.vulnix_gate(uv run vulnix-gate … --register .vulnixignore) pluscheck-expirations— the identical gate logic the nightlysecurity-scanruns (no logic duplication). The vulnix run mirrorssecurity-scan.yml:84-90exit-code handling.publishnowneeds: [validate, finalize, build-and-test, vulnix-gate]— publish cannot run unless the gate passed.rollbackextended to includevulnix-gateinneeds:, its failure condition, and the failed-jobs report — so a gate failure afterfinalizecommitted the changelog finalization still triggers the branch rollback (consistent withbuild-and-test).security-scan.ymlwas not touched (owned by #755).Job-graph edges added
Verification
actionlint .github/workflows/release.yml— no workflow errors (the shellcheck SC2086/SC2129 info/style notes are all pre-existing in thevalidatejob, none in the added job).yamllint .github/workflows/release.yml— clean (exit 0).pre-commit runon the changed files — all hooks pass, includingyamllint,check-yaml,check-action-pins(checkout SHA-pinned),sync-manifest(both CHANGELOG copies identical),pymarkdown, andcheck agent identity.Changelog
Added an
## Unreleased→ Security entry, mirrored identically intoassets/workspace/.devcontainer/CHANGELOG.md(sync-manifest verified).