Stop pinning Go to patch versions, use stable in CI#82
Merged
Conversation
Drop the patch version from the go directive in go.mod (1.26.2 → 1.26) so we only declare the minimum language version needed. Switch all CI workflows to go-version: 'stable' so they always use the latest stable Go release. Remove the Renovate custom manager that was bumping the Go patch version — no longer needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fixes GHSA-hfvc-g4fc-pqhx (High severity) in otel/sdk v1.41.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
75fe79d to
56d8924
Compare
JAORMX
approved these changes
Apr 9, 2026
This was referenced Apr 9, 2026
blkt
pushed a commit
to stacklok/toolhive-registry-server
that referenced
this pull request
Apr 10, 2026
## Summary - **`go.mod`**: `go 1.26.2` → `go 1.26` — only declare the minimum language version, not a specific patch - **`go.mod`**: bumped `toolhive` v0.16.0 → v0.17.0 and `toolhive-core` v0.0.14 → v0.0.15 (these deps were pinning us to `go 1.26.2`) - **`renovate.json`**: removed the custom regex manager that was bumping the Go patch version (no longer needed), and removed the `!golang` exclusion from the go modules grouping rule Similar to stacklok/toolhive-core#82 — avoids noisy Renovate PRs every time a new Go patch drops. ## Test plan - [x] `task lint-fix` passes locally - [x] `task test` passes locally - [x] `go mod tidy` does not bump `go 1.26` back to a patch version - [ ] CI workflows pick up `stable` Go and pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
go.mod:go 1.26.2→go 1.26— only declare the minimum language version, not a specific patchgo-version-file: 'go.mod'→go-version: 'stable'— always use the latest stable Go releaserenovate.json: removed the custom regex manager that was bumping the Go patch version (no longer needed)Similar to modelcontextprotocol/registry#1137 — avoids noisy Renovate PRs every time a new Go patch drops.
Test plan
taskpasses locally (lint + tests)go mod tidydoes not bumpgo 1.26back to a patch versionstableGo and pass🤖 Generated with Claude Code