Skip to content

Code Review Analytics: Show "< 1 hour" for MRs with review time being zero

What does this MR do?

This MR fixes a bug for Code Review Analytics where 0 values for the review time are treated as null. As a result, a - was displayed in the column instead of displaying "< 1 hour".

Screenshots

Before After
review_time_before review_time_after

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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

Closes #208151 (closed)

Edited by Martin Wortschack

Merge request reports