Skip to content

Upgrade Go to 1.27.1 - #369

Merged
scott-cotton merged 5 commits into
mainfrom
go-1.27.1
Sep 14, 2026
Merged

scott-cotton merged 5 commits into
mainfrom
go-1.27.1

Conversation

@scott-cotton

@scott-cotton scott-cotton commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Upgrades Go to the latest release, 1.27.1.

Merge order: step 3 of 4 (after signadot/go-sdk#94 and signadot/libconnect#175)

This is part of a set of Go 1.27.1 upgrade PRs, listed in module dependency order:

  1. Upgrade Go to 1.27.1 routesapi#28 (go-routesapi), together with Upgrade Go to 1.27.1 go-sdk#94
  2. signadot/libconnect#175, together with Upgrade Go to 1.27.1; re-pin go-routesapi hotrod#315
  3. → cli (this PR)
  4. signadot/signadot#7468 (monorepo)

Dependencies

  • Upstream (signadot modules this depends on):

    • github.com/signadot/go-sdk v0.3.8, upgraded in Upgrade Go to 1.27.1 go-sdk#94
    • github.com/signadot/libconnect v0.1.1-0.20260730200225-ae66f07f8f04, upgraded in signadot/libconnect#175 (which depends on Upgrade Go to 1.27.1 routesapi#28)
    • (go-routesapi doesn't appear in cli's module graph: go mod why -m reports it isn't needed.)

    This PR keeps the current pins, because a dependency's go directive doesn't require re-pinning. cli also builds against the go-sdk#94, libconnect#175, and routesapi#28 branches (checked with local replaces), so it can be re-pinned once those merge (and go-sdk is tagged).

  • Downstream (modules that depend on this): none

Changes

  • go.mod: go 1.25.0 → go 1.27.1. go mod tidy also merged the indirect require blocks; no module versions changed.
  • go get -u golang.org/x/tools: x/tools v0.47.0 → v0.50.0 (indirect, pulled in by miekg/dns → x/tools/go/packages). This is hygiene: current x/tools is needed by anything that loads Go 1.27 package/export data, which tony-format codegen hit. -u also moves the rest of the golang.org/x family forward: crypto 0.54→0.57, net 0.57→0.59, sys 0.47→0.48, text 0.40→0.42, mod 0.37→0.41, sync 0.22→0.23, term 0.45→0.46.
  • .github/workflows/release.yaml: GO_VERSION: "1.25" → "1.27" (picks up the latest 1.27.x patch) (the goreleaser build toolchain)
  • README.md: build-from-source requirement Go 1.18+ → Go 1.27.1+

Unchanged: Dockerfile is a runtime-only alpine image, and goreleaser.yaml doesn't set a Go version.

Verification (go1.27.1, darwin/arm64)

  • go mod tidy ✅ (go mod tidy -diff is clean)
  • go build ./... ✅
  • go vet ./... ✅
  • go test ./... ✅

🤖 Generated with Claude Code

https://claude.ai/code/session_01XACAz1mFx1JUrDSSGBuyFB

@cursor cursor Bot 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.

Risk: medium. Approved: no applicable approval policies, Cursor Bugbot and Cursor Security Agent were not running, and this is a Go 1.27.1 toolchain/docs bump with no application-code changes. Human reviewers were not assigned (assignment tool unavailable).

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Approver

scott-cotton and others added 2 commits September 14, 2026 11:57
Go 1.27 package/export data needs a recent x/tools for anything that loads
packages through it (reached here via miekg/dns). Hygiene; -u also moves the
golang.org/x family forward.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XACAz1mFx1JUrDSSGBuyFB

@daniel-de-vera daniel-de-vera 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.

LGTM

@scott-cotton
scott-cotton merged commit 30a0a8c into main Sep 14, 2026
1 check passed
@scott-cotton
scott-cotton deleted the go-1.27.1 branch September 14, 2026 17: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.

2 participants