Skip to content

chore: Build on the Go 1.27 toolchain - #32

Merged
ecv merged 1 commit into
mainfrom
chore/go-1.27-toolchain
Nov 2, 2026
Merged

ecv merged 1 commit into
mainfrom
chore/go-1.27-toolchain

Conversation

@ecv

@ecv ecv commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Go 1.26 stops getting security fixes in February 2027. This builds and tests on Go 1.27 with runtime behaviour unchanged.

  • Add toolchain go1.27.3 to go.mod; actions/setup-go (CI via the shared workflow, and the release build) uses it over the go line
  • Leave the go line at 1.26.0, so the binary keeps its current GODEBUG defaults
  • No Dockerfiles, golangci-lint or controller-gen pins in this repo

Step 1 of https://github.com/datum-cloud/infra/issues/8340, per https://github.com/datum-cloud/infra/blob/main/docs/upgrades/go.md.

Test plan

  • Every job's Setup Go step installs 1.27.3
  • Unit, e2e and lint pass on 1.27
  • The service rolls in staging and stays healthy

Related to #29

Go 1.26 stops getting security fixes when Go 1.28 ships in February 2027.
Building on 1.27 now keeps the binaries patched and the fleet on one Go line.

Key features/changes:
- Add a go.mod toolchain line, which actions/setup-go uses over the go line,
  so CI and the release build also run on 1.27
- Leave the go line unchanged, so the binaries keep their current GODEBUG
  runtime defaults; raising it is a separate change
@ecv
ecv marked this pull request as ready for review November 2, 2026 21:57
@ecv
ecv requested a review from a team as a code owner November 2, 2026 21:58
@ecv
ecv requested a review from kevwilliams November 2, 2026 21:58
@ecv
ecv enabled auto-merge November 2, 2026 21:58

@kevwilliams kevwilliams 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.

Verified CI set up Go 1.27.3 from the toolchain line, and the release workflow reads go.mod too, so releases build on 1.27.

@ecv
ecv merged commit 58a88e6 into main Nov 2, 2026
2 checks passed
@ecv
ecv deleted the chore/go-1.27-toolchain branch November 2, 2026 22:03
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