Skip to content

Support RPC specific error details when generically unwrapping structured Gitaly errors

Mustafa Bayar requested to merge 443732-generic-gitaly-error-mapping into master

What does this MR do and why?

Some RPCs in Gitaly have RPC specific error detail types that wrap the set of details that the RPC is capable of returning (example). When this wrapper detail type is used, Rails is unable to generically decode the underlying detail and map to the correct error.

We are updating the Rails so that RPC error details can be generically mapped to the correct error type.

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.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #443732 (closed)

Edited by Mustafa Bayar

Merge request reports

Loading