build: bump Go to 1.27 and gate toolchain version drift - #176
Merged
Merged
Conversation
Bump the Go toolchain to 1.27.1 everywhere it is pinned: go.mod, go.work, tools/ctxctl/go.mod, the CI and release workflows, the hack/tool-versions.txt floor, and the steering prose plus its three tool-native copies. golangci-lint moves to v2.13.2 alongside. The bump initially missed .cursor/rules/tech.mdc, and nothing tied the eight Go pins together, so add hack/check-go-version.sh (make check-go-version): go.mod is the source of truth; go.work and the ctxctl module must match it exactly, every other site must match its major.minor. Wired into make audit and the CI lint job. Also promote make check-steering into the CI lint job, and fix it to compare a pre-sync snapshot against the regenerated outputs instead of diffing against HEAD, so a consistent-but-uncommitted source/output pair no longer fails make audit mid-bump. Spec: specs/go-version-sync.md Signed-off-by: Jose Alekhinne <jose@ctx.ist>
Deploying ctx with
|
| Latest commit: |
6263b42
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b4582b0c.ctx-bhl.pages.dev |
| Branch Preview URL: | https://build-go-version-sync.ctx-bhl.pages.dev |
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.
Bump the Go toolchain to 1.27.1 everywhere it is pinned: go.mod, go.work, tools/ctxctl/go.mod, the CI and release workflows, the hack/tool-versions.txt floor, and the steering prose plus its three tool-native copies. golangci-lint moves to v2.13.2 alongside.
The bump initially missed .cursor/rules/tech.mdc, and nothing tied the eight Go pins together, so add hack/check-go-version.sh (make check-go-version): go.mod is the source of truth; go.work and the ctxctl module must match it exactly, every other site must match its major.minor. Wired into make audit and the CI lint job.
Also promote make check-steering into the CI lint job, and fix it to compare a pre-sync snapshot against the regenerated outputs instead of diffing against HEAD, so a consistent-but-uncommitted source/output pair no longer fails make audit mid-bump.
Spec: specs/go-version-sync.md