Repository navigation
Harden CI downloads: retry dependency clones and host CI assets on GitHub - #2713
Merged
Merged
Conversation
A dropped connection while cloning VTK left build_dependencies.sh running against a missing directory, burying the real error. Clones now go through clone_repo, which reuses an existing clone, retries up to three times, and exits on failure; checkouts and cd's also exit on failure.
The windows-2022 runner image no longer trusts the emSign root behind www.sci.utah.edu's new certificate, breaking the NSIS and tiny test data downloads. The NSIS, tiny test data, and rsync archives now come from the ci-assets release; the rsync download also follows redirects, since the old http URL returned a 302 page instead of the archive.
Its callers were removed when CI stopped using the remote host cache.
CACHE_HOST no longer exists. Drop restore_caches.sh, store_ccache.sh, the CACHE_HOST env var, and the cache archive naming/compression helpers in common.sh that only they used.
akenmorris
force-pushed
the
amorris/2712-build-deps-clone-retry
branch
from
November 20, 2026 07:57
fd95498 to
5139062
Compare
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.
Fixes #2712.
build_dependencies.shnow clones through aclone_repohelper that reuses an existing clone, retries transient failures up to three times, and exits if the clone still fails. Checkouts, submodule updates, and directory changes also exit on failure instead of continuing.The Windows runner no longer trusts www.sci.utah.edu's certificate, so the NSIS and tiny test data archives now download from the new
ci-assetsrelease. Also removes the unusedcopy_artifact.sh,restore_caches.sh, andstore_ccache.shalong with theCACHE_HOSTsetting, since the remote cache host no longer exists.