Skip to content

fix(ci): disable Go caching to eliminate duplicate-restore errors#2877

Merged
hubcio merged 2 commits intomasterfrom
disable-golang-cache
Mar 9, 2026
Merged

fix(ci): disable Go caching to eliminate duplicate-restore errors#2877
hubcio merged 2 commits intomasterfrom
disable-golang-cache

Conversation

@hubcio
Copy link
Copy Markdown
Contributor

@hubcio hubcio commented Mar 5, 2026

Go coverage baseline produced 10+ "Cannot open: File exists"
annotations per run. Root cause: setup-go@v5 with cache:true
AND a manual actions/cache@v4 both restored to the same paths,
so the second restore failed on existing files.

Go builds are fast enough that caching is unnecessary. Replaced
the enabled/cache-dependency-path/golangci-lint-version inputs
with read-cache/save-cache (both default "false") for parity
with setup-rust-with-cache. Also disabled golangci-lint-action
caching in pre-merge to stop creating small stale entries.

Go coverage baseline produced 10+ "Cannot open: File exists"
annotations per run. Root cause: setup-go@v5 with cache:true
AND a manual actions/cache@v4 both restored to the same paths,
so the second restore failed on existing files.

Go builds are fast enough that caching is unnecessary. Replaced
the enabled/cache-dependency-path/golangci-lint-version inputs
with read-cache/save-cache (both default "false") for parity
with setup-rust-with-cache. Also disabled golangci-lint-action
caching in pre-merge to stop creating small stale entries.
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.33%. Comparing base (33bee3d) to head (aae0005).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2877   +/-   ##
=========================================
  Coverage     68.33%   68.33%           
  Complexity      739      739           
=========================================
  Files          1053     1053           
  Lines         84763    84763           
  Branches      61297    61308   +11     
=========================================
+ Hits          57923    57926    +3     
+ Misses        24468    24460    -8     
- Partials       2372     2377    +5     
Flag Coverage Δ
csharp 67.47% <ø> (-0.15%) ⬇️
go 6.27% <ø> (ø)
java 54.83% <ø> (ø)
node 92.26% <ø> (-0.04%) ⬇️
python 81.57% <ø> (ø)
rust 70.03% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 14 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hubcio hubcio merged commit 6df20bb into master Mar 9, 2026
75 checks passed
@hubcio hubcio deleted the disable-golang-cache branch March 9, 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.

3 participants