Repository navigation
Conversation
Contributor
Author
|
/gemini review |
Contributor
Author
|
Closing per updated test-health policy: this specific failure has only 2 occurrence(s) in the past 7 days (minimum required is >= 3 same-root-cause failures in a 7-day window, regardless of production impact). Keeping the branch so this PR can be reopened if the failure reaches >= 3 occurrences in 7 days. |
Contributor
Author
|
Reopening: |
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.
Note: this PR was auto-generated by tooling. Before moving it out of draft, the author has done a full review of the PR, specifically evaluating it on the following criteria:
Full details of the methodology of generation and review can be found here - https://docs.google.com/document/d/14lj7ECVov4T4EdwmIzNlWrRGE3lLDMOwX5xUMGzaLoc/edit?usp=sharing
If you have concerns with the PR or with the underlying methodology used to generate this, please comment below - they will be addressed by the author not the tooling :)
Summary
Retries transient
proxy.golang.orgtransport/HTTP/2 errors (such asstream error: stream ID ...; INTERNAL_ERROR; received from peerandread: connection reset by peer) in:sdks:go:examples:wordCount(sdks/go/examples/build.gradle), which failedLocal environment tests(Mac run local environment shell script) 3 times in 7 days.Recent Occurrences
2026-12-03T17:26:45Z, scan https://develocity.apache.org/s/cqz3kh5lixe2e)::sdks:go:examples:wordCountfailed onmacos-latestwithGet "https://proxy.golang.org/github.com/envoyproxy/go-control-plane/envoy/@v/v1.39.1-0.20260819172001-e6e3fd93e4be.mod": read tcp ...: read: connection reset by peer.2026-12-03T15:21:24Z, scan https://develocity.apache.org/s/ng72tmsjsghtk)::sdks:go:examples:wordCountfailed onmacos-latestwithread "https://proxy.golang.org/golang.org/x/net/@v/v0.63.0.zip": stream error: stream ID 107; INTERNAL_ERROR; received from peer.2026-12-03T13:04:12Z, scan https://develocity.apache.org/s/axj6w32kcon4s)::sdks:go:examples:wordCountfailed onmacos-latestwithstream error: stream ID 23; INTERNAL_ERROR; received from peer.Root Cause
When
actions/setup-gohas a coldGOMODCACHEonmacos-latest,:sdks:go:examples:wordCountinvokesgo buildwhich downloads hundreds of Go module zips concurrently over HTTP/2 fromhttps://proxy.golang.org.cmd/godoes not retry a single HTTP/2INTERNAL_ERRORstream reset or TCPconnection reset by peer, failing the entire./gradlew checkSetuprun even though all previously fetched modules are already cached inGOMODCACHE.Fix
sdks/go/examples/build.gradle, wrapproject.execintask wordCountwith up to 3 attempts (5s, 10s backoff), retrying only when stderr containsproxy.golang.orgalong with a transient transport error (stream error,INTERNAL_ERROR,TLS handshake timeout,connection reset, orunexpected EOF). All other errors (such as Go compilation failures) fail immediately on attempt 1, and stderr is always echoed toSystem.err.Test Suite Runtime Impact
Local environment tests(.github/workflows/local_env_tests.yml, which runs./gradlew checkSetup→:sdks:go:examples:wordCount).go buildsucceeds on attempt 1, no extra commands or sleeps run.GOMODCACHE), avoiding a ~10-minute workflow failure and manual rerun. Non-proxy errors fail immediately on attempt 1.buildSrc/, so there is no Gradle build cache invalidation).Build/CI-only change; no production SDK code is modified.
Verification
local_env_tests.ymlworkflow runs on branch:47150948992(passed) and47150995416(passed)