Skip to content

CI: ci_retry.sh infers a cache probe for a digest-pinned docker pull (Part of #8424) - #8705

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8424-20261119T2207Z
Nov 20, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8424-20261119T2207Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

tests/tools/ci_retry.sh already had bounded retries, backoff, the cause line and an opt-in CI_RETRY_CACHED probe (#8658), but no call site used the probe. It now infers the probe for a digest-pinned docker 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 explicit CI_RETRY_CACHED wins. The 4 existing docker pull sites (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, -q flag, tag-only, explicit override). Already cache-first by nature: the get_parser('cobol') prefetch (pack cache) and hash-pinned pip install (satisfied requirements are skipped).
Sibling gaps (none needed by a burned-estate program; CI infrastructure):

  • the 110 bare steps and the shrink-only lint (checklist item 3);
  • apt ctags installs (doom-rosetta, tri-comparison-audit/-history): need an explicit ctags --version probe;
  • npm / rustup / dotnet installs in graph-accuracy-audit;
  • the Maven/gradle fetch, gh downloads;
  • advisory uploads non-fatal rule (checklist item 4);
  • ports-compile.yml grammar prefetch.

Gates

pytest tests/tools/test_ci_retry.py (+ network inventory, change classifier, sweep plan, source reads), audit_check.py all clear, pr_gates --fast (see report).

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 19, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 19, 2026 23:38
@squid-shepherd

Copy link
Copy Markdown
Contributor

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.

@squid-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 19, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (cd15247) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 19, 2026 23:50
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 19, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 19, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 19, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 20, 2026 00:30
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 20, 2026 00:30
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 20, 2026
@squid-shepherd
squid-shepherd Bot merged commit 54cf72a into main Nov 20, 2026
87 of 104 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8424-20261119T2207Z branch November 20, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant