Skip to content

build: Adopt Go 1.27 - #675

Open
timflannagan wants to merge 1 commit into
agentregistry-dev:mainfrom
timflannagan:chore/go-1.27
Open

build: Adopt Go 1.27#675
timflannagan wants to merge 1 commit into
agentregistry-dev:mainfrom
timflannagan:chore/go-1.27

Conversation

@timflannagan

@timflannagan timflannagan commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Description

Adopt Go 1.27 while keeping the module directive at the minimum stable release,
1.27.0. Server container builds use the 1.27 image line so they receive
patch releases without raising the module minimum for consumers.

Document the distinction in AGENTS.md so future Go upgrades keep the module
minimum and server builder aligned by language version.

Align the tools module, lint configuration, development documentation, and
generated MCP Go projects with the same Go 1.27 baseline. The tools module uses
a Go 1.27-capable x/tools version while retaining the existing linter release
and modernization baseline.

Change Type

/kind bump

Changelog

AgentRegistry is now built with Go 1.27.

Additional Notes

Validated with make lint, tidy and verification checks for both Go modules,
go test ./cmd/server, go test ./internal/cli/frameworks, and
git diff --check.

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.

🟡 Changes recommended

Several repository Go version pins still reference 1.26, so the Go 1.27 adoption is incomplete and may cause tooling/docs drift.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adopts Go 1.27 across the primary build surfaces (module directive, server container build image) and documents the intended versioning policy in AGENTS.md to keep the minimum toolchain and container build line aligned.

Changes:

  • Bump root go.mod minimum toolchain to go 1.27.0.
  • Update server builder image to golang:1.27-alpine.
  • Document the “go.mod minimum vs Docker image patch line” policy in AGENTS.md.
File summaries
File Description
go.mod Updates the root module’s minimum supported Go toolchain to 1.27.0.
docker/server.Dockerfile Moves the server build stage to the Go 1.27 Alpine image line.
AGENTS.md Updates tech stack docs to Go 1.27+ and adds guidance on Go version pinning strategy.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread go.mod
Set Go 1.27.0 as the module minimum while moving server builds to the Go 1.27
image line. Align generated projects, development docs, and lint tooling with
the new baseline while avoiding patch-only requirements for consumers.

Signed-off-by: timflannagan <timflannagan@gmail.com>
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.

2 participants