Skip to content

fix(ci): bump go toolchain and dedupe govuln sarif stacks - #490

Merged
jahvon merged 1 commit into
mainfrom
fix/govuln-sarif-upload
Oct 13, 2026
Merged

jahvon merged 1 commit into
mainfrom
fix/govuln-sarif-upload

Conversation

@jahvon

@jahvon jahvon commented Oct 13, 2026

Copy link
Copy Markdown
Member

Summary

The security job has failed on every run since codeql-action was bumped to 4.38.2: upload-sarif now rejects results whose stacks contain duplicate items, and govulncheck emits exact duplicate call stacks for some findings. On the pinned go1.26.8 toolchain, govulncheck reports several reachable stdlib net/http vulns (fixed in go1.26.9), and those are the findings with duplicate stacks.

Notable Changes

  • Bump toolchain to go1.26.9, which removes the reachable stdlib findings.
  • scan security dedupes each result's stacks with jq before writing govuln.sarif, so a future finding with duplicate stacks can't fail the upload.

No ticket

The security job fails on upload since codeql-action 4.38.2, which
rejects SARIF results with duplicate stacks. govulncheck emits exact
duplicate call stacks for some findings, and on go1.26.8 it reports
several reachable stdlib net/http vulns that do so.

Bump the toolchain to go1.26.9, which fixes those vulns, and dedupe
stacks before writing govuln.sarif so a future finding cannot break the
upload again.
@jahvon
jahvon merged commit d2a5b47 into main Oct 13, 2026
16 checks passed
@jahvon
jahvon deleted the fix/govuln-sarif-upload branch October 13, 2026 04:53
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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