Skip to content

Do not attempt to generate traces without pipeline end_time

Reuben Pereira requested to merge rp/no-traces-without-end-time into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Content

  • Do not attempt to generate traces without pipeline end_time

When end_time cannot be calculated, it means that the pipeline is still running and no job in the pipeline has completed as yet.

Without end_time, we cannot generate traces. This MR skips a pipeline (when generating traces) if there is no end_time.

Downstream pipelines that the coordinator pipeline does not wait for, will still be running when we start generating traces. Since those pipelines are not important enough to wait for, we probably don't need their traces.

This MR will help prevent the traces job from failing when it encounters downstream pipelines that have not completed yet.

Ref: gitlab-com/gl-infra/delivery#19867 (closed)

Author Check-list

  • Has documentation been updated?
Edited by Reuben Pereira

Merge request reports