Skip to content

ci: scan against Go 1.27.2 and bump golang.org/x/net to v0.60.0 - #364

Merged
mrz1836 merged 2 commits into
mainfrom
ci/govulncheck-go-1.27.2
Oct 9, 2026
Merged

mrz1836 merged 2 commits into
mainfrom
ci/govulncheck-go-1.27.2

Conversation

@galt-tr

@galt-tr galt-tr commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Security Scans fails on every open PR (e.g. #362, #363). Two causes, both fixed here:

  • govulncheck and OSV-Scanner report 13 vulnerabilities in stdlib@v1.27.1, all fixed in Go 1.27.2. .github/env/00-core.env pinned GOVULNCHECK_GO_VERSION=1.27.1; this moves it to 1.27.2. GO_PRIMARY_VERSION is already 1.27.x, so builds and tests pick up the patch release on their own.
  • With Go 1.27.2 the remaining 5 findings are all golang.org/x/net@v0.59.0, fixed in v0.60.0. Bumped in go.mod.

Test plan

  • go build ./..., go vet, and the merkleservice / api_server / teranode tests pass locally on the bump
  • Security Scans job on this PR goes green

🤖 Generated with Claude Code

govulncheck and OSV-Scanner report 13 stdlib@v1.27.1 vulnerabilities,
all fixed in Go 1.27.2, so the Security Scans job fails on every PR
until the govulncheck toolchain pin moves to 1.27.2.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@galt-tr
galt-tr requested a review from mrz1836 as a code owner October 9, 2026 01:35
Copilot AI balanced review requested due to automatic review settings October 9, 2026 01:35
@github-actions github-actions Bot added the size/XS Very small change (<=10 lines) label Oct 9, 2026
@galt-tr
galt-tr enabled auto-merge (squash) October 9, 2026 01:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The targeted version bump is correctly consumed by the security scan workflow.

0 open findings

What changed in this PR

Updates security scanning to use the patched Go 1.27.2 toolchain.

Changes:

  • Bumps GOVULNCHECK_GO_VERSION from 1.27.1 to 1.27.2.
File Description
.github/​env/​00-core.env Updates the Go version used by vulnerability scans.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

The five govulncheck findings left after moving to Go 1.27.2 are all in
golang.org/x/net@v0.59.0 and fixed in v0.60.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@galt-tr galt-tr changed the title ci: scan vulnerabilities against Go 1.27.2 ci: scan against Go 1.27.2 and bump golang.org/x/net to v0.60.0 Oct 9, 2026
Copilot AI balanced review requested due to automatic review settings October 9, 2026 01:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused version updates are internally consistent with the security-scan configuration and module metadata.

0 open findings

🧠 Review effort: Balanced

@mrz1836 mrz1836 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mrz1836 mrz1836 added dependencies Dependency updates, version bumps, etc. security Security-related issue, vulnerability, or fix labels Oct 9, 2026
@mrz1836
mrz1836 disabled auto-merge October 9, 2026 01:52
@mrz1836
mrz1836 merged commit 6cc3d05 into main Oct 9, 2026
31 checks passed
@mrz1836
mrz1836 deleted the ci/govulncheck-go-1.27.2 branch October 9, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates, version bumps, etc. security Security-related issue, vulnerability, or fix size/XS Very small change (<=10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants