Remove from `job/request` the `job_age`
Problem
job_age
parameter (added in gitlab-runner#4177) in POST /jobs/request
is not used by the Runner but some custom implementations of Runner might use that. We need to deprecate this field and remove in %16.0 unless we decide to use this approach to implement some aspects of Allow configuring GitLab runner priority (#14976).
The following discussion from !64093 (merged) should be addressed:
-
@ayufan started a discussion: This is feature that we never fully finished, and is broken as well, we might consider removing this.
We should remove queued_before
feature out of jobs/request
. This feature was never finished,
and does not work properly.
In !91061 (comment 1007220924) we attempted to remove this parameter but got this feedback:
The current state is that:
- gitlab-runner#4177 is still opened,
- it was mentioned just few days ago in a more general issue about defining priorities for runners (thread at #14976 (comment 1000476056)),
- the change on GitLab side was merged,
- the change on GitLab Runner was never merged so we've never officially have used this.
So, it should be quite safe to be deprecated and removed in the future. But the fact that our Runner doesn't use it doesn't mean that some custom runner implementations - and there are few of them! - are not using it. As it's an open and public API, removal should go through a normal breaking change deprecation process.