fix(central): Skip digest normalization for UUID image IDs in GetImage#19882
Merged
charmik-redhat merged 1 commit intomasterfrom Apr 9, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #19882 +/- ##
=======================================
Coverage 49.58% 49.58%
=======================================
Files 2766 2766
Lines 208540 208545 +5
=======================================
+ Hits 103408 103413 +5
Misses 97460 97460
Partials 7672 7672
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
🚀 Build Images ReadyImages are ready for commit 6f66d41. To use with deploy scripts: export MAIN_IMAGE_TAG=4.11.x-602-g6f66d41d76 |
clickboo
approved these changes
Apr 8, 2026
dashrews78
reviewed
Apr 8, 2026
dashrews78
approved these changes
Apr 8, 2026
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.
Description
The GetImage service calls
types.NewDigest(id).Digest()on the image id passed in the request. This function prefixes the id with the hashing algorithm likesha256:. But with ImageV2 enabled, the ID in the request can be a UUID and not a digest. In this case, the UUID should not be prefixed . This PR avoids that.User-facing documentation
Testing and quality
Automated testing
How I validated my change