Skip to content

[bug] "Search through X repos" UI thrashes as repos are being reindexed #293

Closed
@msukkari

Description

@msukkari

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions