Skip to content

fix(oci): raise ImageNotFoundError when daily image lookup has no match - #524

Open
blackboxsw wants to merge 1 commit into
canonical:mainfrom
blackboxsw:fix-oci-image-not-found
Open

fix(oci): raise ImageNotFoundError when daily image lookup has no match#524
blackboxsw wants to merge 1 commit into
canonical:mainfrom
blackboxsw:fix-oci-image-not-found

Conversation

@blackboxsw

@blackboxsw blackboxsw commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Description

Previously, daily_image raised an unhelpful IndexError when no matching image was found after filtering out aarch64 and GPU images. It now raises the more descriptive ImageNotFoundError carrying the release.

Additional Context and Relevant Issues

This issue was seen on July 31st before Canonical Ubuntu Oracle Resolute images were made available. The resulting traceback was an unhelpful IndexError. This ImageNotFoundError will be easier to read and reason about in call sites.

Test Steps

tox -e pytest

@blackboxsw
blackboxsw requested a review from hammerstefan July 31, 2026 22:43
Previously, daily_image raised an unhelpful IndexError when no matching
image was found after filtering out aarch64 and GPU images. It now
raises the more descriptive ImageNotFoundError carrying the release.

Also bumps VERSION to 1!11.1.3.
@blackboxsw
blackboxsw force-pushed the fix-oci-image-not-found branch from 6dad422 to adb6139 Compare July 31, 2026 22:53
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.

1 participant