Daily Test Coverage Improver - Fix Coverage Steps Network Issues#1996
Merged
Daily Test Coverage Improver - Fix Coverage Steps Network Issues#1996
Conversation
Add cache: true and cache-dependency-path to setup-go action to prevent network issues when downloading Go modules during coverage testing. This fixes Forbidden errors from storage.googleapis.com proxy by utilizing GitHub Actions' built-in Go module caching mechanism.
Contributor
✅
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes network connectivity issues in the Daily Test Coverage Improver workflow by enabling GitHub Actions' built-in Go module caching to avoid repeated downloads from the Google proxy.
Changes:
- Added
cache: trueandcache-dependency-path: go.sumto the setup-go step in the coverage-steps action
This was referenced Feb 11, 2026
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.

Summary
This PR fixes network connectivity issues preventing the coverage steps action from building the project and running tests.
Problem
The coverage steps action was failing with
Forbiddenerrors when downloading Go modules fromstorage.googleapis.comproxy. Multiple critical packages could not be fetched:modernc.org/libc@v1.66.10modernc.org/sqlite@v1.40.0google.golang.org/api@v0.252.0github.com/klauspost/compress@v1.18.2github.com/diskfs/go-diskfs@v1.7.0This prevented Phase 3 of the Daily Test Coverage Improver workflow from proceeding.
Solution
Enable GitHub Actions' built-in Go module caching by adding two parameters to the
setup-goaction:This leverages GitHub's module cache to avoid repeated network downloads and works around the proxy connectivity issues.
Changes
.github/actions/daily-test-improver/coverage-steps/action.ymlcache: trueto setup-go stepcache-dependency-path: go.sumto setup-go stepTesting
The fix follows GitHub Actions best practices documented at:
https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs
Once merged, the next workflow run should successfully:
Related
What Happens Next
Once this PR is merged: