Repository navigation
fetch: retry with backoff, fetch the root manifest once, install concurrently - #12
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
October 25, 2026 03:06
Member
Author
|
Handed off to the coordinator |
zackees
commented
Oct 25, 2026
zackees
left a comment
Member
Author
There was a problem hiding this comment.
Coordinator review (merge-local: this repo runs no CI on PRs). Correct: retry with 1 s / 4 s backoff on every download, one root-manifest fetch per fetch --lock, and a bounded pool of 4 with results returned in order. The failing test comes first, then the fix. Nit, not blocking: _retry also retries 4xx HTTPErrors (a 404 can't succeed), costing at most 5 s on a dead URL.
Ran on the PR head (12352d2): uv run --group dev pytest 13 passed; ruff check and ruff format --check clean. Merging.
This was referenced Oct 25, 2026
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.
Fixes #3
getand each archive mirror retry 3 attempts with 1 s / 4 s backoff (bounded).install_allparses the rootmanifest.jsononce perfetch --lockrun and installs in a bounded pool (4); download, hash check and extract run per tool concurrently.cli fetchuses it.tests/test_fetch.py(fake opener: flaky URL, bounded retries, one root fetch, overlapping downloads); GREEN makes it pass.Built/tested locally:
uv run --group dev pytest(13 passed),ruff check,ruff format --check. This repo has no PR CI workflow, so no checks run on the PR. Not run: obs-studio's AppImage image build (last acceptance item).