Add a new state failed in zoekt_repository
What does this MR do and why?
It is possible that some repositories can not be indexed due to timeouts. In that case, we should set the zoekt_repository to failed and skip creating the indexing tasks. In the next related MR, we will move to the failed state automatically after a set number of retries.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #482920 (closed)
Edited by Ravi Kumar