Skip to content

Fix compliance report shows empty author for some merge events

What does this MR do and why?

This fixes the compliance report to always show who merged a merge request, even when the merge request metrics do not exist.

Related issue: #340406 (closed)

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. You need a GitLab Ultimate license.
  2. View the compliance report at [GDK_HOST]/groups/gitlab-org/-/security/compliance_dashboard.
  3. Validate that all merge requests show a user avatar under Merged by in the sidebar (opened by clicking on a row).

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 #340406 (closed)

Edited by Jiaan Louw

Merge request reports