Repository navigation
Equivalence E2E shard: restore and load the pinned Db2 image (Part of #7002) - #7003
Merged
Merged
Conversation
…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]>
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
Contributor
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.
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 colddocker pullof the digest-pinned image from icr.io failed 4 times withcontext deadline exceeded(Db2ImagePullError, infrastructure). The other shards and the db2 job passed. The db2 job restores that image from the digest-keyedactions/cacheentry (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_loadthen 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:
db2job,det-sweep.ymlandevidence-refresh.ymlalready restore the cache (existing tests pin them); the shard was the only gap. New test pins bothshardanddb2jobs 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