Repository navigation
ci: retry engine downloads that fail for a moment - #1276
Merged
Merged
Conversation
GitHub's release downloads answered 504 for over an hour on 2026-11-08 (rhwp, then 7-Zip and pandoc), and every Windows and macOS job that fetched an engine stopped there. fetch-engines, fetch-portable-engines and fetch-magick-native now try a download up to five more times, 20 s apart. The checksum check after it is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 does this change?
For over an hour on 2026-11-08, GitHub's release downloads answered
504 Gateway Time-out: first every rhwp v0.8.7 binary, then 7-Zip and pandoc at random. Every Windows and macOS job that fetches an engine stopped at the download, on #1243, #1064, #1242 and #1195 alike, and re-running only moved the failure to the next file.fetch-engines.ps1,fetch-portable-engines.ps1andfetch-magick-native.ps1now callInvoke-WebRequestwith-MaximumRetryCount 5 -RetryIntervalSec 20. PowerShell 7 retries on 304 and 400–599 answers. The SHA-256 check after each download is unchanged.fetch-fonts.ps1already retries with its own mirror fallback, and the ExifToolcurlin ci.yml already has--retry 3.Type of change
How was it tested?
Parser.ParseFile, 0 errors), andInvoke-WebRequeston the runners' PowerShell 7 has-MaximumRetryCount.🤖 Generated with Claude Code