Skip to content

Upgrade to Go 1.27 - #283

Open
monorkin wants to merge 2 commits into
mainfrom
go-1.27
Open

Upgrade to Go 1.27#283
monorkin wants to merge 2 commits into
mainfrom
go-1.27

Conversation

@monorkin

@monorkin monorkin commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

Bumps the toolchain to Go 1.27.0 across everything that pins it:

  • .mise.toml, go.mod, and tests/smoke/go.mod move to 1.27.0. CI workflows read go-version-file: go.mod, so they follow on their own.
  • nix/go.nix moves its base to go_1_27 with minGo = "1.27.0" and the official source-tarball hash. The pinned nixpkgs only carries 1.27rc3, so the file's existing conditional override rebuilds from the upstream tarball and drops itself once nixpkgs catches up — the same pattern it used for 1.26.6.
  • golangci-lint moves v2.11.1 → v2.13.1 in lockstep (Makefile tools, both workflows, pre-commit, and the MIN_VERSION floor in scripts/check-lint-lockstep.sh). The old binary was built with Go 1.26 and refuses a 1.27 target; v2.13.1's release binaries are built with Go 1.27.0.
  • README's from-source instructions now say Go 1.27+.

make check passes in full locally: fmt, vet, lint (0 issues), all tests, tidy-check, surface snapshot, and both lockstep checks. The nix path is unverified locally (no nix on this machine) — the nix-build job is the check for that.

Dependency

PR #304 is the cached-Go 1.26.6 foundation and should merge first. After it lands, sync this branch with current main before advancing #296. The PR base remains main for now; no history is rewritten while the foundation is under review.

Bump the toolchain across mise, go.mod, the smoke module, and the nix
derivation (nixpkgs still carries 1.27rc3, so the existing conditional
source-tarball override takes over until it catches up).

golangci-lint moves v2.11.1 -> v2.13.1 in lockstep everywhere it is
pinned: the old binary was built with Go 1.26 and refuses a 1.27 target,
and v2.13.1's release binaries are built with Go 1.27.0.
@monorkin
monorkin requested a review from a team as a code owner August 23, 2026 19:01
Copilot AI balanced review requested due to automatic review settings August 23, 2026 19:01

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

Sensitive Change Detection (shadow mode)

This PR modifies control-plane files:

  • .github/workflows/release.yml
  • .github/workflows/test.yml

Shadow mode — this check is informational only. When activated, changes to these paths will require approval from a maintainer.

The bats fixtures pinned v2.11.1, which the raised v2.13.1 floor now
rejects.

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

CodeQL support for Go 1.27 coming in a release later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants