Skip to content

Log value of first_deployed_to_production_at

Reuben Pereira requested to merge rp/improve-deployed-detection into master

What does this MR do and why?

Describe in detail what your merge request does and why.

The related_merge_requests API returns an attribute called first_deployed_to_production_at for every MR. This should contain a timestamp indicating when the MR was first deployed to the production environment. It works by updating the timestamp when an MR is deployed to the production environment (app/models/deployment.rb#L327).

Before we start using it, I would like to see if it is accurate. This MR logs the value of first_deployed_to_production_at for every MR that we check during a security release. After a couple of security releases, we can start using first_deployed_to_production_at if it is accurate.

Author Check-list

  • Has documentation been updated?
Edited by Reuben Pereira

Merge request reports

Loading