Skip to content

Only use finished_at as end time of pipeline if it exists

Reuben Pereira requested to merge rp/fix-nil-failure-tracing into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Fix failure in the tracing job.

Example failure: https://ops.gitlab.net/gitlab-org/release/tools/-/jobs/9579662.

The failure is happening because the API is returning finished_at: nil. This MR updates release-tools to use finished_at only if it exists. If it doesn't exist, it will use Time.current.

Author Check-list

  • Has documentation been updated?
Edited by Reuben Pereira

Merge request reports