Skip to content

Display FailedPrecondition gitaly errors to UI when merge fails

What does this MR do?

This MR exposes error messages raised by gitaly when merging via gitaly's user_merge_branch call fails. It only displays error messages marked as FailedPrecondition for now since they don't seem to contain any confidential data.

Screenshots or Screencasts (strongly suggested)

Screen_Shot_2021-08-10_at_11.19.52_am

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #321358

Edited by Sincheol (David) Kim

Merge request reports