Skip to content

Equivalence E2E shard: restore and load the pinned Db2 image (Part of #7002) - #7003

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7002-20261029T1201Z
Oct 29, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7002-20261029T1201Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Main's Equivalence E2E run 40864495015 (52ee128c4) failed only in shard 3/3: test_the_loops_committed_ports_are_proven[cbsa-updacc] needs the Db2 container, and the shard's cold docker pull of the digest-pinned image from icr.io failed 4 times with context deadline exceeded (Db2ImagePullError, infrastructure). The other shards and the db2 job passed. The db2 job restores that image from the digest-keyed actions/cache entry (main saves it) and loads it in the background; the shard job did not.

This PR adds the same three steps (cache key, restore, background load ending in pull-done) to the shard job, before Python setup so the load overlaps the installs. _await_background_load then finds the image instead of pulling. No engine code changes, so no golden bless.

Class

A CI job that can start the Db2 container but fetches the pinned image cold from icr.io. Siblings checked: db2 job, det-sweep.yml and evidence-refresh.yml already restore the cache (existing tests pin them); the shard was the only gap. New test pins both shard and db2 jobs of equivalence-e2e.yml.

Cost

Each shard now restores a ~2.3 GB cache entry and loads it in the background (overlapping installs, ~2 min per the harness comment). Not measured on CI yet; on a PR cache miss it falls back to the retried pull as before.

Tests

test_db2_image_cache.py, test_db2_odbc_pin.py, test_equivalence_e2e_plan.py, test_env_gated_tests_run_in_ci_5954.py, test_workflow_draft_gate.py: 129 passed.

Lessons for agents

A job that can reach the Db2 harness needs the image cache steps, not only the ODBC driver cache (#6921).

Part of #7002 (the issue closes when the workflow next succeeds on main).

🤖 Generated with Claude Code

…ge (Part of #7002)

A shard's cbsa-updacc proof pulled the Db2 image cold from icr.io and failed on a
registry timeout; it now uses the same digest-keyed cache entry as the db2 job.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 29, 2026 12:06
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 12:06
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit aac3478 into main Oct 29, 2026
71 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7002-20261029T1201Z branch October 29, 2026 12:32
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