Repository navigation
CI: Db2 image cache verifies by layer hash, not the store-specific image id (Part of #8185) - #8213
Merged
Merged
Conversation
…age id (Part of #8185) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
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.
Part of #8185. Failing run 42651067894: the blockers-survey artifact defect was fixed by #8188; the
db2 4/6icr.io pull timeout was infrastructure. Underneath it, the Db2 image cache stopped hitting on 2026-11-09 (run 42611659925 logs "loaded image id is not the recorded one" in every shard; 11-08 hit), so every shard pulled icr.io and one outage failed the run.Change
tests/tools/db2_image_cache.py:loadalso accepts the image when its RootFS layer hash matches the onesaverecords (image.layers), since.Iddiffers between docker image stores; a real mismatch prints loaded/recorded values. The cache key is nowdb2-image-v2-<digest>so main re-saves a fresh entry (the v1 entry is never re-saved while it exists).docs/ci_env_gated_tests.md: key name.Class sweep
Class: cache identity check tied to a docker-store-specific image id.
Workflows read the key from the helper, so no workflow edit.
Sibling gaps
None found. Remaining slices: none.
Facts checked
Logs of runs 42611659925 / 42484804997 / 42471819950 for the cache message;
audit_check.pyall clear; both Db2 cache test files pass (46).Lessons for agents
A cache entry keyed only by a pin is never re-saved once present: bump a version in the key when the check changes.
Cross-repo
None. After merge, Evidence Refresh must be dispatched on main (its first run saves the v2 entry) to close #8185. The root cause of the id change is inferred from logs; the new diagnostics settle it if the layer check also fails.
🤖 Generated with Claude Code