Skip to content

chore(deps): update Go to 1.27.3 - #1575

Merged
lklimek merged 3 commits into
masterfrom
chore/update-go-1.27.3
Oct 30, 2026
Merged

lklimek merged 3 commits into
masterfrom
chore/update-go-1.27.3

Conversation

@lklimek

@lklimek lklimek commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Backports Go 1.27.3 from v1.8-dev so Tenderdash v1.8.1 builds and ships with the latest Go security release.

User story

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

Scenario

Base flow

Tenderdash v1.8.1 pins Go 1.27.1 across its module, CI workflows, Docker builds, tests, and documentation.

Actual behavior

Go 1.27.1 contains standard-library vulnerabilities fixed in Go 1.27.2 and 1.27.3. Builds can therefore retain those issues even after module dependencies are updated.

Expected behavior

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

Detailed discussion

What was done

  • Backported the compatible Go 1.27 tooling update from v1.8-dev commit 74853088b / PR chore(deps): update Go to 1.27.2 and compatible tooling #1545, then applied the Go 1.27.3 pin update from commit 89206d29e / PR chore(deps): update Go to 1.27.3 #1558.
  • Updated go.mod, GitHub Actions, production and test Dockerfiles, and user-facing version references.
  • Updated the older vet workflow pin as well, so no CI job continues compiling Tenderdash with Go 1.26.6.
  • Updated golangci-lint to v2.15.0, Mockery to v3.8.1, and govulncheck to v1.9.0 because the older tools cannot read Go 1.27.3 export data.
  • Regenerated mocks with Mockery v3.8.1; the generated changes mark constructors and cleanup callbacks as test helpers and do not change production interfaces.

Testing

  • GOTOOLCHAIN=go1.27.3+auto make test
  • make lint LINT_BASE=origin/master with golangci-lint v2.15.0: 0 issues.
  • make mockery with Mockery v3.8.1: generated files remain clean.
  • govulncheck v1.9.0 -show verbose ./...: 0 reachable and 0 imported-package vulnerabilities. Module-only x/net/html advisories remain until the companion dependency-security PR updates x/net from v0.61.0 to v0.62.0.
  • git diff --check
  • Verified that supported module, CI, Docker, test, and tutorial Go version pins resolve to 1.27.3. The inherited networks/remote provisioning script remains outside this hotfix scope.

Breaking changes

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

Prior work

Attribution

🤖 Co-authored by Claudius the Magnificent AI Agent

Backport the Go 1.27.3 toolchain pins from v1.8-dev and align the
remaining vet workflow pin with the repository minimum.

Co-Authored-By: Claude GPT-5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • 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

Comment @coderabbitai help to get the list of available commands.

Align Go pins across CI, the BLS action, Dockerfiles and documentation,
including the vet workflow left on Go 1.26.6.

Pin golangci-lint v2.15.0 in CI, Makefile and go.mod, and update its
required module graph. Upgrade govulncheck to v1.9.0.

Upgrade both mockery pins to v3.8.1 for Go 1.27.2 export-data support
and regenerate mocks. The generated changes only mark mock constructors
and cleanup callbacks as test helpers; protobuf output is unchanged.

Validation: build, lint, vet, vulncheck, mock/protobuf generation and
selected race tests pass. One initial wall-clock load assertion failed;
the consensus package passes on retry and the isolated load test passes
10/10 runs on both Go 1.27.1 and Go 1.27.2.

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

Co-authored-by: Codex GPT-6 <[email protected]>
@thepastaclaw

thepastaclaw commented Oct 30, 2026 •

Copy link
Copy Markdown

✅ Final review complete — no blockers (commit a876fa4) · triage: normal

@lklimek
lklimek marked this pull request as ready for review October 30, 2026 08:47
Restore the exact golangci-lint v2.15.0 pins and compatible module
graph from the v1.8-dev backport after resolving the Go version
cherry-pick conflicts.

Co-Authored-By: Claude GPT-5 <[email protected]>
@lklimek
lklimek marked this pull request as draft October 30, 2026 08:59
@lklimek
lklimek marked this pull request as ready for review October 30, 2026 09:00
@lklimek

lklimek commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator Author

/self-reviewed

@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

The reviewed range consistently updates the Go 1.27.3 requirement across the module, CI workflows, Docker images, documentation, and tooling. Dependency and regenerated-mock changes are internally consistent, with no correctness, security, compatibility, or scope issues identified. Build, test, mock-generation, protobuf, lint, and one E2E check were still pending or in progress in the supplied CI snapshot; no relevant check had failed.

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (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: normal by gpt-6.1-sol (effort low) — This is a broad, cross-cutting Go toolchain, dependency, CI, Docker, documentation, and generated-mock update, but it does not change consensus, funds movement, cryptography, networking logic, or storage behavior.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (antigravity quota lookup failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort high); agent phase2-reviewer

@lklimek
lklimek merged commit a1423b6 into master Oct 30, 2026
32 of 34 checks passed
@lklimek
lklimek deleted the chore/update-go-1.27.3 branch October 30, 2026 10:41
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.

2 participants