Skip to content

ci: bump govulncheck to v1.8.0 so the call-graph build survives Go 1.27 - #511

Closed
szibis wants to merge 1 commit into
mainfrom
fix/govulncheck-go127
Closed

ci: bump govulncheck to v1.8.0 so the call-graph build survives Go 1.27#511
szibis wants to merge 1 commit into
mainfrom
fix/govulncheck-go127

Conversation

@szibis

@szibis szibis commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Every test job since #506 merged fails at the Govulncheck step, on main and on all open PRs.

Root cause. govulncheck v1.1.4 bundles golang.org/x/tools v0.29.0, whose SSA builder panics with unexpected expr: *ast.KeyValueExpr when it builds a call graph for code type-checked as Go 1.27. govulncheck only builds the call graph once the vulnerability database matches something in the module graph, and the match is platform-specific, which is why:

Reproduced locally with GOOS=linux GOARCH=amd64 govulncheck@v1.1.4 ./... (panics) versus govulncheck@v1.8.0 (completes, no vulnerabilities).

Fix. Pin govulncheck@v1.8.0 in ci.yaml. No other workflow uses govulncheck. CHANGELOG entry added under Changed.

Verification

Check Result
GOOS=linux GOARCH=amd64 govulncheck@v1.8.0 ./... No vulnerabilities found
govulncheck@v1.8.0 ./... (darwin) No vulnerabilities found
scripts/ci/check_changelog_pr.py --base main --head HEAD ok

v1.1.4 bundles golang.org/x/tools v0.29.0, whose SSA builder panics with
'unexpected expr: *ast.KeyValueExpr' when it builds a call graph for code
type-checked as Go 1.27. The panic only triggers once the vulnerability
database matches something in the Linux module graph, so the first Go 1.27
run passed and every later run on main and open PRs failed at Govulncheck.
Reproduced locally with GOOS=linux; v1.8.0 completes with no findings.
@github-actions github-actions Bot added size/XS Extra small change scope/ci CI/CD scope/docs Documentation maintenance Maintenance labels Sep 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Quality Report

Compared against base branch main.

Coverage and tests

Signal Base PR Delta
Test count 4795 4795 0
Coverage 89.2% 89.1% -0.1% (regressed)

Compatibility

Track Base PR Delta
Loki API 100.0% 11/11 (100.0%) 0.0% (stable)
Logs Drilldown 100.0% 17/17 (100.0%) 0.0% (stable)
VictoriaLogs 100.0% 11/11 (100.0%) 0.0% (stable)

Performance smoke

Performance smoke was skipped for this PR because no perf-sensitive paths changed.

State

  • Coverage, compatibility, and sampled performance are reported here from the same PR workflow.
  • This is a delta report, not a release gate by itself. Required checks still decide merge safety.
  • Performance smoke was intentionally skipped because no perf-sensitive paths changed in this PR.
  • Delta states use the same noise guards as the quality gate (percent + absolute + low-baseline checks), so report labels match merge-gate behavior.

szibis pushed a commit that referenced this pull request Sep 12, 2026
Materializes [Unreleased] into [1.64.0], bumps chart/README metadata, and carries the govulncheck v1.8.0 bump (from #511) so the test job passes on Go 1.27.
@szibis

szibis commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator Author

Folded into #512 (cherry-picked as 51107c5) so the release metadata sync could land with a green test job; main now carries govulncheck v1.8.0.

@szibis szibis closed this Sep 12, 2026
@szibis
szibis deleted the fix/govulncheck-go127 branch September 12, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance scope/ci CI/CD scope/docs Documentation size/XS Extra small change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant