Repository navigation
sqlc-test-setup: retry apt-get when the mirror fails - #4718
Closed
kyleconroy wants to merge 1 commit into
Closed
kyleconroy wants to merge 1 commit into
kyleconroy wants to merge 1 commit into
Conversation
PR runs on 2026-11-11 failed installing libossp-uuid16 because the runner could not resolve azure.archive.ubuntu.com. Run apt-get through one helper that retries downloads and, on failure, refreshes the package lists and tries once more. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LuRZ4KZiFRZfbAgYWP6ndH
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.
Requested by Kyle · project thread
The
testandexamplesjobs on #4682 and #4684 failed insqlc-test-setup installwhile fetchinglibossp-uuid16:Both runs were on 2026-11-11; the package still exists and every PR run since has passed, so it was a mirror/DNS outage on the runner rather than a package change. This makes the setup tolerate it: all
apt-getcalls go through one helper that setsAcquire::Retries=5and, if the command still fails, waits, runsapt-get updateand tries once more (which also covers stale package lists).Checked locally: in a container with empty package lists,
install postgresqlhit the retry path, refreshed and installedlibossp-uuid16.Generated by Claude Code