Repository navigation
xtask: Bound retries for transient registry pull failures - #119
Draft
cgwalters-bot wants to merge 1 commit into
Draft
cgwalters-bot wants to merge 1 commit into
cgwalters-bot wants to merge 1 commit into
Conversation
Transient registry transfers can abort package and image builds even when Podman's own retry misses a wrapped blob EOF. Add an xtask helper that retries whole pulls with Podman's internal retry disabled, keeping the last failure. Local runs stay single-attempt; the Justfile opts CI into three attempts unless BOOTC_CI_RETRIES overrides it. Verified with `cargo test -p xtask` and Justfile dry runs. Generated-by: https://github.com/cgwalters/#llms
Collaborator
Author
|
Rebase round 1 of 2 for Generated-by: https://github.com/cgwalters/#llms |
Collaborator
Author
cgwalters-bot
force-pushed
the
dispatch/implement/agent-run-42650945921
branch
from
December 2, 2026 00:15
648c3d4 to
e014486
Compare
Collaborator
Author
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.
Executive summary
Transient registry transfers can abort package and image builds even when Podman's internal retry misses a wrapped blob EOF. Adapt #92's xtask pull helper and recipe wiring to retry whole pulls conservatively, disabling internal retries and preserving the last failure. Retries are off locally by default; the Justfile opts CI callers into three attempts unless overridden, with hard caps of ten attempts and thirty seconds per wait.
This fresh draft supersedes #92. The Dockerfile needs only the configured base; build-fetch, pushes and #91 remain outside scope.
Verification:
cargo test -p xtask(37 passed, including injected runner/sleeper and fake-Podman tests),cargo clippy -p xtask(18 existing warnings),cargo fmt --check, and both requested Justfile dry runs passed; no tool or dependency blockers. No live registry or full container build was run.Review: two passes; the HTTP-diagnostic blocker is fixed, no blockers remain; broader fake-command coverage of the Justfile workflow boundaries remains a non-blocking follow-up.
Remaining mechanical action: close #92 as superseded; this run cannot request PR closure through its allowed outputs.
Closes #86