Handle Gitaly error on fetching total-branches for pipeline editor
What does this MR do and why?
When fetching total-branches
for pipeline editor data, it needs to call Gitaly. And sometimes, Gitaly returns an error. This MR fixes it by checking if the repository exists.
- Related info: #349975 (comment 838535928)
- Bug issue: #349975 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Furkan Ayhan