Skip to content

fix(ci): pin unit/e2e Go matrix to 1.25 (go.mod now requires go 1.25.5) - #503

Merged
Dumbris merged 1 commit into
mainfrom
fix/053-ci-go125-matrix
May 22, 2026
Merged

fix(ci): pin unit/e2e Go matrix to 1.25 (go.mod now requires go 1.25.5)#503
Dumbris merged 1 commit into
mainfrom
fix/053-ci-go125-matrix

Conversation

@Dumbris

@Dumbris Dumbris commented May 22, 2026

Copy link
Copy Markdown
Member

Problem

Unit Tests (and E2E Tests) went red on main right after the merges. Root cause: the go-dependencies bump (#496) raised go.mod from go 1.24.2go 1.25.5, but the push-event test matrices in unit-tests.yml and e2e-tests.yml still listed 1.23.10 and 1.24.5.

Those older toolchains can't build a go 1.25.5 module, so go auto-downloads the 1.25.5 toolchain — and under actions/setup-go's module cache that extraction collides:

/usr/bin/tar: .../toolchain@v0.0.1-go1.25.5...: Cannot open: File exists

The native 1.25 jobs pass; the 1.23.10/1.24.5 jobs fail (fail-fast then cancels the rest). PRs were unaffected because PRs only test ["1.25"].

Fix

Pin both matrices' go-version to ["1.25"] (still testing all three OSes on push) and move the coverage/race-detector step guards from matrix.go-version == '1.23.10''1.25'. No stale 1.23.10/1.24.5 references remain in any workflow.

Note: keeping go 1.25.5 (what #496 landed and what builds/lints/tests green); this just aligns CI with it. If you'd rather not be on 1.25.5 yet, that's a separate go.mod decision.

🤖 Generated with Claude Code

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'.
@Dumbris
Dumbris merged commit 064b2e9 into main May 22, 2026
1 check was pending
@Dumbris
Dumbris deleted the fix/053-ci-go125-matrix branch May 22, 2026 07:44
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants