fix(ci): pin unit/e2e Go matrix to 1.25 (go.mod now requires go 1.25.5) - #503
Merged
Conversation
The go-dependencies bump (#496) raised go.mod to 'go 1.25.5'. The push-event test matrix still listed 1.23.10 and 1.24.5, which cannot build the module and auto-download the 1.25.5 toolchain under setup-go's cache, causing a 'tar: ... File exists' extraction collision and red Unit/E2E runs on main. PRs were unaffected (PRs only test 1.25). Pin both matrices to 1.25 and move the coverage/race steps' guard to go-version == '1.25'.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Problem
Unit Tests(andE2E Tests) went red onmainright after the merges. Root cause: the go-dependencies bump (#496) raisedgo.modfromgo 1.24.2→go 1.25.5, but the push-event test matrices inunit-tests.ymlande2e-tests.ymlstill listed1.23.10and1.24.5.Those older toolchains can't build a
go 1.25.5module, sogoauto-downloads the 1.25.5 toolchain — and underactions/setup-go's module cache that extraction collides:The native
1.25jobs pass; the1.23.10/1.24.5jobs fail (fail-fast then cancels the rest). PRs were unaffected because PRs only test["1.25"].Fix
Pin both matrices'
go-versionto["1.25"](still testing all three OSes on push) and move the coverage/race-detector step guards frommatrix.go-version == '1.23.10'→'1.25'. No stale1.23.10/1.24.5references remain in any workflow.🤖 Generated with Claude Code