Skip to content

relax the go directive to 1.25.0 - #84

Merged
xobotyi merged 1 commit into
mainfrom
relax-go-directive
Jul 15, 2026
Merged

relax the go directive to 1.25.0#84
xobotyi merged 1 commit into
mainfrom
relax-go-directive

Conversation

@xobotyi

@xobotyi xobotyi commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

go 1.26.5 made go install demand the newest toolchain patch (auto-switch or refusal on anything older). Nothing in the module needs 1.26: the newest constructs are WaitGroup.Go (1.25) and SplitSeq/T.Context (1.24), and go vet's stdversion analyzer is clean at 1.25.

1.25.0 rather than bare 1.25 because go mod tidy pins the directive to the strictest dependency (the MCP go-sdk declares 1.25.0); .0 is the floor of the line, so any 1.25.x+ toolchain installs without forced upgrades.

CI resolves its toolchain from go.mod, so these checks ran on an actual 1.25.x across all three OSes.

go 1.26.5 forced every go install user onto the newest toolchain
patch: the go command auto-switches or refuses when the local
toolchain is older than the directive. Nothing in the module needs
1.26 -- the newest constructs are WaitGroup.Go (1.25), SplitSeq and
T.Context (1.24) -- and the strictest dependency, the MCP go-sdk,
declares 1.25.0, which is also why tidy pins the three-part form
rather than a bare 1.25.

Verify: go build, go vet (stdversion), go test -race, and lint against
a 1.25 language version; CI resolves the toolchain from go.mod and
revalidates on an actual 1.25.x.
@xobotyi
xobotyi merged commit a07fc5d into main Jul 15, 2026
6 checks passed
@xobotyi
xobotyi deleted the relax-go-directive branch July 15, 2026 13:21
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.

1 participant