Repository navigation
ci: retry the depot_tools clones and the angle fetch on transient network errors - #53475
Merged
Conversation
…work errors Three CI steps fetch over the network with no retry, and each has failed builds on main with errors that pass on a re-run: - the test job's "Get Depot Tools" clone from googlesource.com - "Install Build Tools" (npm install, then the depot_tools clone that the first `e` command does): "fetch-pack: invalid index-pack output" - "Fixup angle git" in fix-sync, a large `git fetch` from github.com: "RPC failed; curl 56 Recv failure: Operation timed out" Add script/actions/retry.sh, which reruns a command with exponential backoff (4 attempts, waiting 1s, 4s and 16s), and use it for those commands. Each one is safe to repeat: a failed clone removes its partial directory, and a failed fetch leaves the repository unchanged. Co-authored-by: Samuel Attard <[email protected]>
1 of 3 tasks
MarshallOfSound
approved these changes
Sep 3, 2026
MarshallOfSound
enabled auto-merge (squash)
September 3, 2026 20:30
MarshallOfSound
deleted the
trop/42-x-y-bp-ci-retry-the-depot_tools-clones-and-the-angle-fetch-on-transient-network-errors-1788467215649
branch
September 3, 2026 21:30
|
No Release Notes |
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.
Backport of #53470
See that PR for details.
Notes: none