Repository navigation
CI: ci_retry.sh infers a cache probe for a digest-pinned docker pull (Part of #8424) - #8705
Conversation
…(Part of #8424) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
|
CI shepherd: the head of this PR (cd15247) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
What
tests/tools/ci_retry.shalready had bounded retries, backoff, the cause line and an opt-inCI_RETRY_CACHEDprobe (#8658), but no call site used the probe. It now infers the probe for a digest-pinneddocker pull <image>@sha256:...(docker image inspect <ref>): the ref is content-addressed, so a local hit is exact. A tag-only ref never infers one (a stale local tag would be accepted); an explicitCI_RETRY_CACHEDwins. The 4 existingdocker pullsites (det-sweep, equivalence-e2e x2, evidence-refresh) become cache-first with no workflow edit.Checklist: done [c:43c3455c]
Class / Sibling gaps
Class: a CI network fetch that retries but never checks for a local copy first, in the one wrapper
ci_retry.sh. Handled here: docker pulls by digest (tests: hit, miss,-qflag, tag-only, explicit override). Already cache-first by nature: theget_parser('cobol')prefetch (pack cache) and hash-pinnedpip install(satisfied requirements are skipped).Sibling gaps (none needed by a burned-estate program; CI infrastructure):
ctags --versionprobe;ghdownloads;ports-compile.ymlgrammar prefetch.Gates
pytest tests/tools/test_ci_retry.py(+ network inventory, change classifier, sweep plan, source reads),audit_check.pyall clear,pr_gates --fast(see report).🤖 Generated with Claude Code