Gracefully handle nil created_at values in CI pipelines
What does this MR do and why?
!90027 (merged) added
CI::Pipeline#age_in_minutes
. This method causes a 500 error for any
page that attempts to load an old pipeline that happens to have a
nil
created_at
value. For these pipelines, just return 0.
Relates to #369124 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Stan Hu