Repository navigation
ci(security): govulncheck nightly over every Go module and both refs (#2569) - #2581
Merged
Merged
Conversation
… gate on main (#2569) Brings the fail-closed gate and its dated exceptions to main, extends the nightly to ref x module, and lifts the gateway module to the go.mod/go.sum/Dockerfile already vetted on integration/v2 so its main leg is not red. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0198oVxWkEEDJJnVhES6ULnx
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ypecheck fixes, reject unscanned exception scopes (#2569) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0198oVxWkEEDJJnVhES6ULnx
This branch was successfully deployed
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.
Closes #2569
Refs #2579
The govulncheck nightly now proves every Go module on both lane refs, so a dated exception stops passing ON its date for the operator and the gateway as well as templates/go. This must land before 2026-10-25, when the GO-2026-6809 exception expires.
.github/workflows/govulncheck-nightly.yml: matrix of ref (main,integration/v2) x module (templates/go,packages/kn-next-operator,packages/scale-zero-pg/gateway) on the EXISTING13 2 * * *cron (unchanged; the cron-staggering test passes). Each leg checks out its ref and runs that ref's own gate script and exceptions file, passing the module being scanned. The file is byte-identical with the one in ci(security): govulncheck every Go module through the fail-closed gate (#2569) #2579.mainxtemplates/go(main has no Go template yet) FAILS when itsgo.mod, the gate script or the exceptions file is missing. The operator and gateway exist on main, so they can never skip viahashFiles.scripts/govulncheck-gate.mjs(with the per-module exception scope from ci(security): govulncheck every Go module through the fail-closed gate (#2569) #2579),security/govulncheck-exceptions.json(the existing GO-2026-6809 entry, no module scope = all modules), and their unit tests.go 1.26, old deps) has 29 called advisories, which would have left the main gateway leg permanently red. So this PR also takes the gatewaygo.mod,go.sumandDockerfileas they already are on integration/v2 (go 1.26.9, bumped deps, digest-pinned base). With them the gateway shows only GO-2026-6809 andgo build ./...passes.Final fix
Typecheck (root tests/) is clean. The gate rejects an exception scope that is not a scanned module (same change as #2579). Main also gets
govulncheck-modules.yml(identical to #2579) so PRs touching the operator or gateway are gated at PR time, with the all-modules coverage test. Shared files stay byte-identical with #2579.Escalation trigger acknowledged: supply chain — extends the vulnerability-scan gate and a CI workflow to all Go modules and brings an already-vetted gateway dependency bump to main; no new credentials or write scopes.
no user-visible surface changed
🤖 Generated with Claude Code
https://claude.ai/code/session_0198oVxWkEEDJJnVhES6ULnx