Closed
Description
Describe the bug
The "Search through X repos" UI uses data from the DB not zoekt, so as repos are being reindexed this number will thrash even though the repos are searchable. A simple fix here is to add a new status like REINDEXING
to signal that an index exists. Alternatively a flag can be added in the DB to track whether an index for the repo exists (and thus its searchable)
To reproduce
Look at "Search through X repos" UI while repos are being reindexed
Sourcebot deployment information
Latest
Additional information
No response