Show estimated wait time when waiting for pipeline runner
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Let user know how much longer they will have to wait for their pipeline to be scheduled
Intended users
Developer DevOps Engineer
Further details
When the pipelines are taking a long time to schedule the user is just stuck hoping that the job to schedule soon with no way of telling stakeholders how long it will take to complete because it is just "pending"
Proposal
Keep a running average for pending duration metric on the job runner. Show "Estimated wait time" in the job runner state instead of just a screen that says "his job is in pending state and is waiting to be picked by a runner"
Permissions and Security
No special permissions should be required to see this information
Documentation
Most likely this would change the API interface for the job runner api
Testing
Its important to communicate this is an estimate not an exact time
What does success look like, and how can we measure that?
If I can see an estimate for how much longer I will have to wait for my job to be scheduled I will be happy. Even more ideally you can improve the wait times to below 10 mins.