Record the first reviewer assigned timestamp
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
- Enable the FF:
Feature.enable(:store_first_reviewer_assignment_timestamp_in_metrics)
- Create a merge request
- Assign it to somebody
- In console check if the timestamp is set:
MergeRequest::Metrics.last.reviewer_first_assigned_at
Related to #466383 (closed)
Edited by Adam Hegyi