Provide an estimated time for pending jobs
There are situations where running jobs are taking up all the available concurrent running jobs on the same runner.
Someone needs to wait for resources to be freed before its job start.
Sometimes this person has no way to know how long the running jobs usually take and he may need to know when he can start monitoring his job.
- Store the running time of the last N runs of the same job.
- When a new job is set as pending, use the stored value to calculate an average running time and provide an estimation of when the pending job will start
That's just a quick idea on how to implement this: there might be better ways, of course.
I'm proposing it merely because I need it: I have no idea if others would find it useful.