Skip to content

sqlc-test-setup: retry apt-get when the mirror fails - #4718

Closed
kyleconroy wants to merge 1 commit into
mainfrom
claude/project-thread-s7m0k1
Closed

kyleconroy wants to merge 1 commit into
mainfrom
claude/project-thread-s7m0k1

Conversation

@kyleconroy

Copy link
Copy Markdown
Collaborator

Requested by Kyle · project thread

The test and examples jobs on #4682 and #4684 failed in sqlc-test-setup install while fetching libossp-uuid16:

Err:2 https://security.ubuntu.com/ubuntu noble/universe amd64 libossp-uuid16 amd64 1.6.2-1.5build13
  Temporary failure resolving 'azure.archive.ubuntu.com'

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-get calls go through one helper that sets Acquire::Retries=5 and, if the command still fails, waits, runs apt-get update and tries once more (which also covers stale package lists).

Checked locally: in a container with empty package lists, install postgresql hit the retry path, refreshed and installed libossp-uuid16.


Generated by Claude Code

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
@kyleconroy kyleconroy self-assigned this Nov 30, 2026
@kyleconroy kyleconroy closed this Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants