Repository navigation
build(deps): declare the Go 1.27 floor without a patch version - #2480
Merged
Merged
Conversation
A module's go directive is a minimum toolchain requirement that propagates to every consumer, so a patch floor in a published library forces each downstream project onto that patch. Declare go 1.27 wherever the module graph allows it and never pin a toolchain. Bump toolhive to v0.55.1 and sigstore to v1.11.1, the first releases that declare go 1.27 instead of go 1.27.0. Modules that consume published engine releases cut with a patch floor keep that floor until their pins move; the guard test lists each one and rejects toolchain directives. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A module's
godirective is a minimum toolchain requirement that propagates to every consumer. A patch floor such asgo 1.27.3in a published library forces every downstream project onto that patch. This change declaresgo 1.27wherever the module graph allows it and never pins atoolchain.go 1.27: engine, authn/oidc, contracts, adaptersupport, environment/microvm, provider/ssefilter.toolhivev0.54.0 → v0.55.1 andsigstorev1.11.0 → v1.11.1, the first releases that declarego 1.27rather thango 1.27.0. Without the bump,go mod tidyraises consumers back togo 1.27.0.go 1.27; itsgo mod tidyraises it when a published module requires more.redis_dependency_floor_test.go) requiresgo 1.27, lists each remaining inherited patch floor with its source, and rejectstoolchaindirectives.Remaining patch floors
Go requires a module to declare at least the highest
goline in its dependencies. These manifests consume published engine releases that were cut with a patch floor, so they keep it for now:go 1.27.3go.work, integration/microvm, provider/anthropic, provider/openai, provider/openaichatenginev0.18.0go 1.27.2enginepseudo-version of 2026-10-13Follow-up to clear them: release
enginefrom this change (itsgo.modnow saysgo 1.27), bump the pins above and lower theirgolines, then do the same foradapters. The guard test's exception table should end up empty.Source-build docs and the Taskfile keep "Go 1.27.3 or newer", because a source build of the root module still requires it. Container images keep their pinned
golang:1.27.3@sha256:…bases.Testing
go mod tidy -diffis clean for every module; workspace and standalone root builds pass.go test -race ./internal/adapter/mcpbroker/sealedauthstorage/passes against toolhive v0.55.1.go 1.27.3andtoolchain go1.27.3are reintroduced intoengine/go.mod.task lintandtask test:raceon macOS: every failure reproduces on unmodified main on the same machine (a darwin-only gosec finding,/private/varpath, BSDstatand Kind-cluster tests), or passes in isolation (twoagenthooktiming tests under suite load).🤖 Generated with Claude Code