Skip to content

Fix job scheduling when extra CI minutes purchased

What does this MR do?

This MR fixes bug with the job scheduling not returning a job if the customer had purchased extra CI minutes. The bug occurred when the namespace inherited application-wide Runner minutes limit. In that case we were only considering the application limit without adding the extra CI minutes purchased. If the user had used more than the application-wide minutes it would result in jobs never being picked up by the Runners.

Reference: https://gitlab.com/gitlab-org/gitlab-ce/issues/64987

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Edited by Fabio Pitino

Merge request reports