Harden CGO fuzz job against cache-hit module fetch failures#50959
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
Hey ✅ On track: The PR addresses a specific CI/CD issue (#50956) and is properly marked as WIP while you're forming your plan and making progress. ✅ Clear scope: This is focused on fixing the fuzz job failure on main — a well-defined, single objective. ✅ Good start: The PR body clearly references the original issue and its details. Keep the PR description updated as you investigate the failure and implement fixes. Once you've identified the root cause and made changes, feel free to move this out of draft status. The team will be watching for your updates!
|
The CGO
fuzzmatrix onmainwas failing intermittently whengo test -tags=integration ./...tried to fetch a module fromproxy.golang.organd received403. The retry-protected dependency download step was skipped on Go cache hits, leaving this path unprotected.Failure mode addressed
fuzzjob, dependency hydration used retry logic only whenactions/setup-goreported a cache miss.go testcould still trigger network fetches without retry handling.Workflow change
.github/workflows/cgo.ymlto always run the Download dependencies with retry step infuzz.Behavioral impact
fuzznow consistently pre-downloads modules with retry semantics before integration build/fuzz execution, regardless of cache-hit status.