Skip to content

chore: Build on the Go 1.27 toolchain - #353

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

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

Conversation

@ecv

@ecv ecv commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Go 1.26 stops getting security fixes in February 2027. This builds and tests datumctl on Go 1.27, with runtime behaviour unchanged (the go.mod go line stays at 1.26.0).

  • Nix flake moves from go_1_26 to go_1_27
  • Dev container image moves to 2-1.27-trixie
  • go.mod toolchain moves to go1.27.3, which actions/setup-go uses over the go line, so the shared CI workflow builds and tests on 1.27

This is step 1 of https://github.com/datum-cloud/infra/issues/8340 per the guide.

The repo pins no golangci-lint or controller-gen, so neither moved.

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 #349

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:
- Move the Nix flake and dev container to Go 1.27
- Move the go.mod toolchain line to go1.27.3, which actions/setup-go uses
  over the go line, so CI also builds and tests 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 3, 2026 18:44
@ecv
ecv requested a review from a team as a code owner November 3, 2026 18:44
@ecv
ecv requested a review from andrewb3000 November 3, 2026 18:45
@ecv
ecv enabled auto-merge November 3, 2026 18:45
@ecv
ecv merged commit dc50f1c into main Nov 3, 2026
4 checks passed
@ecv
ecv deleted the chore/go-1.27-toolchain branch November 3, 2026 18:49
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