Skip to content

WIP: Allow some builds to be processed first

Kamil Trzciński requested to merge make-priority-builds into master

What does this MR do?

This adds a possibility to mark some builds to be more important than others and make these builds to be run first by runners.

I did not measure yet the cost of doing that, but since we already hold the full running queue in memory (postgres shared buffers), I don't think that this will be very expensive to do.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports