Skip to content

Avoid Gitaly RPC errors when fetching diff stats

Oswaldo Ferreira requested to merge osw-fallback-on-blank-refs into master

What does this MR do?

Instead making the roundtrip to Gitaly in order to not find the BLANK_SHA on DiffStats RPC and raise a rpc error: code = Unavailable desc = DiffStats: exit status 128, this MR treats this scenario in the client side.

We should stop seeing https://sentry.gitlab.net/gitlab/gitaly-production/issues/531028/ after getting this in.

What are the relevant issue numbers?

Fixes gitaly#1393 (closed)

Does this MR meet the acceptance criteria?

Edited by Grzegorz Bizon

Merge request reports

Loading