Skip to content

CI pipelines list shows incorrect duration for pipelines with >24h runtime

Summary

When a pipeline takes more than 24 hrs to complete, the duration displayed on the pipelines list is incorrect and is off by 24 hours.

Steps to reproduce

  • Create a pipeline that takes more than 24 hours to complete.

What is the current bug behavior?

When viewing the pipeline, it shows that it ran for 2,103 minutes and 7 seconds which is equivalent to 35 hours 3 minutes and 7 seconds.

Screen_Shot_2023-04-17_at_14.25.34

When viewing the same pipeline in the pipelines list, it shows that it only ran for 11:03:07 which is off by 24 hours.

Screen_Shot_2023-04-17_at_14.23.17

What is the expected correct behavior?

When viewing the pipeline in the pipelines list, it should the correct duration which is 35:03:07 in this instance.

Possible fixes

Edited by Richard Chong