Skip to content

Record the first reviewer assigned timestamp

Adam Hegyi requested to merge 466383-add-mr-first-reviewer-assigned-metric into master

What does this MR do and why?

This MR tracks the first timestamp when a reviewer is set in the merge_request_metrics table. The feature is behind a feature flag called: store_first_reviewer_assignment_timestamp_in_metrics

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

  1. Enable the FF: Feature.enable(:store_first_reviewer_assignment_timestamp_in_metrics)
  2. Create a merge request
  3. Assign it to somebody
  4. In console check if the timestamp is set: MergeRequest::Metrics.last.reviewer_first_assigned_at

Related to #466383 (closed)

Edited by Adam Hegyi

Merge request reports