Skip to content

Distinguish between Gitaly being unavailable and other errors

What does this MR do and why?

Describe in detail what your merge request does and why.

Display different errors depending on the error response or status code coming from GRPC. Dispatch these changes in the GraphQL extension for custom error codes errors in the FE.

How to set up and validate locally

  1. gdk start
  2. go to http://127.0.0.1:3000/flightjs/Flight
  3. gdk stop gitaly
  4. reload the page with inspector should see details about the error that are easy for the FE to handle. Screenshot_2022-11-23_at_17.01.15

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #343260 (closed)

Edited by Patrick Cyiza

Merge request reports