Skip to content

Stop pinning Go to patch versions, use stable in CI#4713

Merged
ChrisJBurns merged 3 commits intomainfrom
stop-pinning-go-patch-version
Apr 9, 2026
Merged

Stop pinning Go to patch versions, use stable in CI#4713
ChrisJBurns merged 3 commits intomainfrom
stop-pinning-go-patch-version

Conversation

@rdimitrov
Copy link
Copy Markdown
Member

Summary

  • Every Go patch release triggers a Renovate PR that bumps go.mod and all CI workflows — pure noise with no benefit, since patch releases are backward-compatible. This aligns with what was done in Stop pinning Go to patch versions, use stable in CI toolhive-core#82.
  • go.mod: go 1.26.2go 1.26 — only declare the minimum language version
  • CI workflows: go-version-file: 'go.mod'go-version: 'stable' — always use the latest stable Go release
  • renovate.json: removed the custom regex manager that bumped the Go patch version (no longer needed)

Type of change

  • Other (describe): CI/build configuration cleanup

Test plan

  • Manual testing (describe below)
    • go mod tidy does not bump go 1.26 back to a patch version
    • Verified no go-version-file references remain in any workflow
  • CI workflows pick up stable Go and pass

Changes

File Change
go.mod go 1.26.2go 1.26
15 workflow files go-version-file: 'go.mod'go-version: 'stable'
security-scan.yml go-version-input: 'stable' (govulncheck param)
renovate.json Removed Go patch version custom manager

Does this introduce a user-facing change?

No

🤖 Generated with Claude Code

Avoids noisy Renovate PRs every time a new Go patch drops.
go.mod now declares only the minimum language version (go 1.26),
CI workflows use go-version: 'stable', and the Renovate custom
manager for go.mod patch bumps is removed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rdimitrov rdimitrov requested a review from JAORMX as a code owner April 9, 2026 18:59
@github-actions github-actions bot added the size/XS Extra small PR: < 100 lines changed label Apr 9, 2026
Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
@github-actions github-actions bot added size/L Large PR: 600-999 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Apr 9, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.64%. Comparing base (a388093) to head (381366d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4713      +/-   ##
==========================================
+ Coverage   68.60%   68.64%   +0.03%     
==========================================
  Files         517      517              
  Lines       54631    54631              
==========================================
+ Hits        37480    37500      +20     
+ Misses      14265    14241      -24     
- Partials     2886     2890       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The go mod tidy run pulled in sentry-go v0.45.0 (which introduced a
deprecation lint failure) and other dep changes that broke E2E builds.
Restore go.mod/go.sum to the state from the original commit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added size/S Small PR: 100-299 lines changed and removed size/L Large PR: 600-999 lines changed labels Apr 9, 2026
@rdimitrov rdimitrov self-assigned this Apr 9, 2026
@ChrisJBurns ChrisJBurns merged commit 1e6d778 into main Apr 9, 2026
41 checks passed
@ChrisJBurns ChrisJBurns deleted the stop-pinning-go-patch-version branch April 9, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Small PR: 100-299 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants