Estimate CI build time
Currently GitLab build status looks like this:
I suggest that instead of "running", we have a timer counting down to when the build will be done. We can guess based on the time it took last time, and calculate a moving average.
When the timer reaches 0, we can say "still running" if the build has printed something recently, or "stuck" if it has not. In .gitlab-ci.yml
we can write a policy to promote "stuck" builds to "failed" after Q minutes.
Now we can go one further, instead of "pending", we can simply have a timer based on the timer of the build in front of it.
The end result of all this is that I can plan the duration of office swordfights without feeling guilty that I may be missing something important.
Links / References
Edited by James Komara