Skip to content

Render gitaly-unavailable error for Tags page

Igor Drozdov requested to merge id-tags-gradual-degradation into master

What does this MR do and why?

Related issue: #340818 (closed)

If Gitaly is not available, we should robustly handle the error and display a sensible message to a user:

Before: 500 error was rendered

After:

Screenshot_2021-09-23_at_17.08.26

How to set up and validate locally

  1. Go to project page
  2. Click on Branches link (should be something like https://gitlab.com/gitlab-org/gitlab/-/branches)
  3. Stop gitaly process
gdk stop gitaly
  1. Refresh the page
  2. Verify that page successfully loads and shows an error message
Edited by Mike Nichols

Merge request reports