ci: make fixture download resumable and retry transient stalls - #130
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #130 +/- ##
=======================================
Coverage 99.11% 99.11%
=======================================
Files 21 21
Lines 1477 1477
=======================================
Hits 1464 1464
Misses 13 13 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
A macOS runner failed the 71 MB fixture download with "curl: (56) Recv failure: Operation timed out" and needed a manual re-run. --retry does not cover a stall mid-transfer, only connection errors and transient HTTP codes, so that class of failure never retried. Each attempt also restarted from zero. - --retry-all-errors so a mid-transfer stall is retried - --continue-at - to resume into the existing .part instead of restarting, and bump retries to 5 - ignore .DS_Store, which is not covered today Verified: a fresh download and a resume from a 5 MB partial produce the same sha256; a 404 still aborts and leaves nothing behind; a stale .part resumes into an invalid file, which the existing "recognized" check catches before pytest with the make clean hint.
GitBib
force-pushed
the
ci/resumable-fixture-download
branch
from
August 2, 2026 13:43
e0c31c0 to
55ca534
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.
Fixture download now resumes instead of restarting, and retries stalls that happen mid-transfer.
--retry-all-errors—--retryalone does not cover a stall partway through a transfer--continue-at -— resume into the existing.part.DS_Storeadded to.gitignore