fix(image): preserve active and infrastructure aliases - #2128
stephenlclarke wants to merge 1 commit into
Conversation
7e72616 to
d2753b6
Compare
d2753b6 to
fcd00e8
Compare
|
Rebased cleanly onto current Apple Exact-head focused verification: @codex review |
Match active images by OCI digest and configured infrastructure images by normalized aliases. Store the fetched builder reference so equivalent aliases neither recreate the builder nor become prune candidates. Fixes apple#2030
fcd00e8 to
7df71fc
Compare
|
Refresh 2026-09-05: rebased the single signed fix onto current Apple |
Type of Change
Motivation and Context
Closes #2030.
Use OCI digests as active-image identity, normalize configured infrastructure aliases, and persist the fetched builder reference. This prevents
image prune --allfrom deleting a normalized image used by an active builder and avoids unnecessary builder recreation.This supersedes the earlier closed #2031, rebased onto current
main.Testing
Negative control with the former reference-only decisions: three alias cases and the digest identity regression failed.
make fmt,make check, andgit diff --check: passed