Skip to content

chore(deps): update Go to 1.27.4 - #1617

Merged
lklimek merged 2 commits into
devfrom
chore/go-1.27.4
Nov 11, 2026
Merged

lklimek merged 2 commits into
devfrom
chore/go-1.27.4

Conversation

@Claudius-Maginificent

@Claudius-Maginificent Claudius-Maginificent commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Builds Tenderdash with Go 1.27.4, the latest Go security release.

User story

As a Tenderdash operator, I want release binaries built with the current Go security patch, so known toolchain and standard-library vulnerabilities are not present in deployed nodes.

Scenario

Base flow

Tenderdash pins Go 1.27.3 across its module, CI workflows, Docker builds, tests and documentation.

Actual behavior

Go 1.27.3 lacks the security fixes released in Go 1.27.4 on 2026-11-10 (cgo, the go command, the compiler, the linker and net/http).

Expected behavior

All build, test, release and documentation pins consistently require Go 1.27.4.

Detailed discussion

What was done

  • Updated go.mod, the BLS composite action, the build, check-generated, e2e, govulncheck, lint, tests and vet workflows, the production and test Dockerfiles (golang:1.27.4-alpine3.24 and golang:1.27.4 exist on Docker Hub), README.md and test/fuzz/README.md from 1.27.3 to 1.27.4.
  • Same scope as the previous patch-level update (chore(deps): update Go to 1.27.3 #1558). No tooling change was needed: golangci-lint v2.15.0, govulncheck v1.9.0 and Mockery v3.8.1 work with Go 1.27.4.

Testing

With GOTOOLCHAIN=go1.27.4:

  • go build ./... passes; go mod tidy leaves go.sum unchanged.
  • govulncheck v1.9.0 ./...: 0 reachable and 0 imported-package vulnerabilities. One module-only advisory remains (GO-2026-5932, the unmaintained golang.org/x/crypto/openpgp package), which Tenderdash does not import; it is unrelated to this update.
  • go test -tags=deadlock for ./rpc/..., ./crypto/... and ./abci/... (the net/http and cgo-heavy packages): pass.
  • golangci-lint v2.15.0 on ./rpc/... and ./crypto/... reports the same results with Go 1.27.4 as with Go 1.27.3.
  • Full suite, mock generation and e2e are left to CI.

Breaking changes

Building Tenderdash now requires Go 1.27.4 or newer. There are no Tenderdash API or wire-format changes.

Prior work

Attribution

🤖 Co-authored by Claudius the Magnificent AI Agent

🤖 Generated with Claude Code

PR Hygiene · a722a4d

  • Bots — thepastaclaw ✓
  • Self-review — not asked of a bot author
  • Build green
  • Approvals
    • github (.github/actions/bls/action.yml, .github/workflows/build.yml, .github/workflows/check-generated.yml and 5 more) — approved by lklimek
    • files with no dedicated owner (DOCKER/Dockerfile, README.md, go.mod and 3 more) — approved by lklimek

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

Summary by CodeRabbit

  • Chores
    • Updated the project’s Go version requirement to 1.27.4 across build, test, and development environments.
    • Updated the documented minimum Go version for building from source.

lklimek and others added 2 commits November 11, 2026 10:17
Go 1.27.4 includes security fixes to cgo, the go command, the compiler,
the linker and net/http. Update the module, CI workflows, the BLS action,
production and test Dockerfiles and documentation pins from 1.27.3.

Validation: go build ./..., go mod tidy (no go.sum change), govulncheck
v1.9.0 (0 reachable vulnerabilities), tests for rpc, crypto and abci, and
golangci-lint v2.15.0 reporting the same results as on Go 1.27.3.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The project now references Go 1.27.4 in its toolchain directive, CI workflows, Docker images, and build documentation.

Changes: Go version alignment

Layer / File(s) Summary
Go version alignment
go.mod, README.md, test/fuzz/README.md, .github/actions/bls/action.yml, .github/workflows/*, DOCKER/Dockerfile, test/docker/Dockerfile, test/e2e/docker/Dockerfile
The Go version changes from 1.27.3 to 1.27.4 across project metadata, CI workflows, and Docker images. The build documentation updates its stated Go version.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: lklimek

Merge Risk: Minimal · up to a722a

This is a Go patch-version bump that aligns the toolchain, CI, Docker images, and docs. No behavior changes or merge-blocking risk were found, and normal CI should confirm the build.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating Go from 1.27.3 to 1.27.4 across workflows, Dockerfiles, go.mod, and documentation.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (14 skipped: 14 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 44672c8 and a722a4d.

Files selected for processing: 14

  • .github/actions/bls/action.yml
  • .github/workflows/build.yml
  • .github/workflows/check-generated.yml
  • .github/workflows/e2e.yml
  • .github/workflows/govulncheck.yml
  • .github/workflows/lint.yml
  • .github/workflows/tests.yml
  • .github/workflows/vet.yml
  • DOCKER/Dockerfile
  • README.md
  • go.mod
  • test/docker/Dockerfile
  • test/e2e/docker/Dockerfile
  • test/fuzz/README.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@Claudius-Maginificent Claudius-Maginificent changed the title chore(deps)!: update Go to 1.27.4 chore(deps): update Go to 1.27.4 Nov 11, 2026
@thepastaclaw

thepastaclaw commented Nov 11, 2026 •

Copy link
Copy Markdown

✅ Final review complete — no blockers (commit a722a4d) · triage: low

@lklimek
lklimek marked this pull request as ready for review November 11, 2026 10:44
@lklimek
lklimek enabled auto-merge (squash) November 11, 2026 10:44
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 11, 2026

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Final validation — Phase 1 + Phase 2

Verified head a722a4d: the 14-file diff consistently updates Go 1.27.3 to 1.27.4, with no application logic changes or actionable findings; the only remaining old-version reference is a historical changelog entry. Current CI reports successful build, rotate e2e, lint, and protobuf checks with no failures, while unit tests, dashcore e2e, mock generation, vet, vulnerability scanning, and several auxiliary checks remain pending. Validation was static only; the two base-only commits affect a separate Docker workflow and do not overlap this diff.

Review provenance

Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)

  • Triage: low by gpt-6.1-sol (effort low) — The diff is a straightforward, consistent Go patch-version update across build, CI, container and documentation pins, with no application logic changes.
  • Phase 1 reviewers: glm-5.3-flash — general (completed, effort high); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 92% left, weekly 81% left; passed over gemini-3.8-flash-high (antigravity quota lookup failed)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort medium); agent phase2-reviewer

@github-actions github-actions Bot removed the waiting-bots Waiting for the review bots to report on this head label Nov 11, 2026
@github-actions

Copy link
Copy Markdown

Policy satisfied — this can merge.
Full checklist in the description.

@lklimek
lklimek merged commit 2a35860 into dev Nov 11, 2026
31 checks passed
@lklimek
lklimek deleted the chore/go-1.27.4 branch November 11, 2026 12:20
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.

3 participants