Skip to content

Re-inspect image after pulling outdated update#584

Merged
jeffwidman merged 1 commit intomainfrom
fix-stale-image-sha
Mar 4, 2026
Merged

Re-inspect image after pulling outdated update#584
jeffwidman merged 1 commit intomainfrom
fix-stale-image-sha

Conversation

@jeffwidman
Copy link
Member

After pulling an updated image in pullImage(), re-inspect to get the new image metadata. Previously, the inspect variable retained the old image's SHA, so the log message on the final line reported a stale ID.

The "image doesn't exist locally" code path already re-inspected after pulling — this aligns the "image exists but is outdated" path to do the same.

Fixes #582

After pulling an updated image in pullImage(), re-inspect to get the
new image metadata. Previously, the inspect variable retained the old
image's SHA, so the log message on the final line reported a stale ID.

The 'image doesn't exist locally' code path already re-inspected after
pulling — this aligns the 'image exists but is outdated' path to do the
same.

Fixes #582
@jeffwidman jeffwidman requested review from a team as code owners March 3, 2026 21:14
@jeffwidman jeffwidman added this pull request to the merge queue Mar 4, 2026
Merged via the queue into main with commit 099f9cb Mar 4, 2026
151 of 173 checks passed
@jeffwidman jeffwidman deleted the fix-stale-image-sha branch March 4, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stale image SHA logged after pulling updated image

2 participants