Repository navigation
ci: retry a dependency fetch that failed on DNS or a server error - #553
Merged
Merged
Conversation
A git+https dependency (codeberg's translate-c, under dvui on Zig 0.17) failed with `NameServerFailure` twice on a Linux runner. The retry script matched only `TemporaryNameServerFailure`, so it gave up on the first attempt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
foxnne
enabled auto-merge (squash)
October 18, 2026 15:28
2 of 8 tasks
An SDL fetch on #549 failed with `bad HTTP response code: '500 Internal Server Error'`, which the script did not count as a fetch failure. A 4xx still fails at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 of 3 tasks
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.
What changes
scripts/ci-retry.shnow retries a dependency fetch whose DNS lookup failed.On #549 (Zig 0.17),
Tests (Linux)failed twice, about 15 minutes apart, fetching codeberg'stranslate-c(agit+httpsdependency under dvui):The script matched only
TemporaryNameServerFailure, so it printed "not a fetch failure — not retrying" and failed on the first attempt. Codeberg resolved fine from a laptop at the same time, and other runs with a warm cache never fetched it. The pattern is nowNameServerFailure, which covers both, plus the git fetch's own wording,unable to discover remote git server capabilities. It also retries a server error (bad HTTP response code: '5xx): an SDL fetch on #549 failed with'500 Internal Server Error'and was not retried. A 4xx, a failing test or a compile error still fails on its first attempt.SDK impact
sdk/src/version.zig,sdk_versionuntouched, PR labelledsdksdk_version, lists thesdkPRs since the lastsdk-v*tagVerified
bash -n scripts/ci-retry.shpasses.404does not match.Follow-ups
zig/0.17needs this too oncemainis merged forward into it; app: every glass draws in the window material #549's runs go through that branch's copy of the script.🤖 Generated with Claude Code