Skip to content

When a repository is failed, zoekt shouldn't process tasks

Summary

During gitlab-com/gl-infra/production#18895 (closed) I noticed that we had failed repositories with a lot of processing tasks.

I believe that we should ignore these tasks if they are associated with a failed repository. Otherwise, we won't be able to finish indexing if we have a backlog of tasks.

Steps to reproduce

What is the current bug behavior?

What is the expected correct behavior?

Relevant logs and/or screenshots

Possible fixes