Skip to content

Comments

ROX-33295: Fix SearchImages not returning image names#19145

Open
charmik-redhat wants to merge 1 commit intomasterfrom
charmik/ROX-33295/fix-search-images-not-returning-image-names
Open

ROX-33295: Fix SearchImages not returning image names#19145
charmik-redhat wants to merge 1 commit intomasterfrom
charmik/ROX-33295/fix-search-images-not-returning-image-names

Conversation

@charmik-redhat
Copy link
Contributor

Description

SearchImages function in image datastore created a query to select the ImageName, but it was not passing that query to the storage layer. This causes GlobalSearch to return images with empty names.

User-facing documentation

  • CHANGELOG update is not needed
  • documentation is not needed

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

  • Modified unit test to verify that the Name field is populated in search results.
  • Manual test by doing global search (pending)

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 3fe970a.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-155-g3fe970a4f5.

@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.52%. Comparing base (2631485) to head (3fe970a).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #19145   +/-   ##
=======================================
  Coverage   49.51%   49.52%           
=======================================
  Files        2672     2672           
  Lines      201665   201665           
=======================================
+ Hits        99864    99880   +16     
+ Misses      94341    94330   -11     
+ Partials     7460     7455    -5     
Flag Coverage Δ
go-unit-tests 49.52% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants