Skip to content

search: Only show no resolved repos alert when there are no results

Warren Gifford requested to merge main-dry-run/global-no-resolved-repos-alert into main

Created by: tsenart

Context

I need some guidance on how to best approach this. Currently, searching for r:deps(foo) someresults returns both type:file results and a no resolved repos alert for the convertedr:deps(foo) r:someresults.

Ideally we only want to show a no resolved repos alert when there are no results across all jobs. This PR is an attempt to do that, but it's currently breaking queries such as r:noresults or someresults.

This is also an area of the code that has been changing a lot recently, so I'd like to collaborate on a solution here.

Test plan

Merge request reports

Loading