Skip to content

fix(release): prevents go mod tidy to upgrade go version requirement#127

Merged
fredbi merged 1 commit intogo-openapi:masterfrom
fredbi:fix/go-mod-tidy
Mar 8, 2026
Merged

fix(release): prevents go mod tidy to upgrade go version requirement#127
fredbi merged 1 commit intogo-openapi:masterfrom
fredbi:fix/go-mod-tidy

Conversation

@fredbi
Copy link
Member

@fredbi fredbi commented Mar 8, 2026

With go1.26, go mod tidy may upgrade the go version requirement. Using GOTOOLCHAIN, we pin this behavior to the current version required.

We don't want any automated / auto-merged go version upgrade that might propagate across our dependencies. Any go version requirement upgrade must be controlled and pass through the regular PR workflow, not an automated job.

chore(cleanup): removed from git versioning my experimental scripts, some of the local Claude configuration. Shared workflow writing rules and conventions to use with Claude.

agentic(copilot): added copilot instructions (linked rules, simplified instructions) to follow the ones used with Claude Code.

Change type

Please select: 🆕 New feature or enhancement|🔧 Bug fix'|📃 Documentation update

Short description

Fixes

Full description

Checklist

  • I have signed all my commits with my name and email (see DCO. This does not require a PGP-signed commit
  • I have rebased and squashed my work, so only one commit remains
  • I have added tests to cover my changes.
  • I have properly enriched go doc comments in code.
  • I have properly documented any breaking change.

With go1.26, go mod tidy may upgrade the go version requirement.
Using GOTOOLCHAIN, we pin this behavior to the current version required.

We don't want any automated / auto-merged go version upgrade that might
propagate across our dependencies. Any go version requirement upgrade must
be controlled and pass through the regular PR workflow, not an automated
job.

chore(cleanup): removed from git versioning my experimental scripts,
some of the local Claude configuration. Shared workflow writing rules
and conventions to use with Claude.

agentic(copilot): added copilot instructions (linked rules, simplified
instructions) to follow the ones used with Claude Code.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@codecov
Copy link

codecov bot commented Mar 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (34a5baa) to head (7c82898).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #127   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           14        14           
=========================================
  Hits            14        14           

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

@fredbi fredbi merged commit b510c45 into go-openapi:master Mar 8, 2026
35 checks passed
@fredbi fredbi deleted the fix/go-mod-tidy branch March 8, 2026 08:32
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