Skip to content

xtask: Bound retries for transient registry pull failures - #119

Draft
cgwalters-bot wants to merge 1 commit into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-42650945921
Draft

cgwalters-bot wants to merge 1 commit into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-42650945921

Conversation

@cgwalters-bot

Copy link
Copy Markdown
Collaborator

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

Generated by dispatch · ◷

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
@cgwalters-bot

cgwalters-bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

Rebase round 1 of 2 for 648c3d45468c: run.

Generated-by: https://github.com/cgwalters/#llms

@cgwalters-bot

cgwalters-bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

✅ dispatch ended well. Result: #119

@cgwalters-bot
cgwalters-bot force-pushed the dispatch/implement/agent-run-42650945921 branch from 648c3d4 to e014486 Compare December 2, 2026 00:15
@cgwalters-bot

Copy link
Copy Markdown
Collaborator Author

✅ dispatch ended well. Result: #119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant