Skip to content

chore(go): pin the exact Go patch version in go.mod - #660

Merged
fclairamb merged 4 commits into
mainfrom
chore/pin-go-patch-version
Oct 24, 2026
Merged

fclairamb merged 4 commits into
mainfrom
chore/pin-go-patch-version

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Pins the Go version to a patch release so an upgrade is a visible, single-line change.

  • server/go.mod: go 1.27 becomes go 1.27.3.
  • CI (ci.yml, nightly.yml): setup-go reads go-version-file: server/go.mod instead of go-version: "1.27", which installed whatever 1.27.x was latest.
  • AGENTS.md, server/AGENTS.md: replace the stale "Go 1.24+" with a pointer to go.mod, and note the golang: images must match.

The Dockerfiles were already on golang:1.27.3-trixie, so nothing changes for the shipped image.

To upgrade Go: bump the go line in server/go.mod and the golang: tags in Dockerfile, Dockerfile.sp and Dockerfile.bench.

Checked locally: go mod tidy (no change), go build ./..., golangci-lint run (0 issues), make lint-agent-docs.

🤖 Generated with Claude Code

The go directive now says 1.27.3 instead of 1.27, so the version we build
with is written in one place. CI reads it through setup-go's
go-version-file instead of its own "1.27", which resolved to whatever
patch was latest. The Dockerfiles already use golang:1.27.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@e0e9f7f). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #660   +/-   ##
=======================================
  Coverage        ?   86.69%           
=======================================
  Files           ?     1287           
  Lines           ?   131285           
  Branches        ?        0           
=======================================
  Hits            ?   113812           
  Misses          ?    17464           
  Partials        ?        9           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fclairamb
fclairamb merged commit 2973230 into main Oct 24, 2026
33 checks passed
@fclairamb
fclairamb deleted the chore/pin-go-patch-version branch October 24, 2026 10:31
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.

1 participant