Skip to content

Draft: Resolve "Spike: How to improve the long-term scalability of CancelRedundantPipelinesService"

What does this MR do and why?

This MR introduces a new way of storing which Pipelines are cancellable on the pursuit of better performance in cancelling redundant pipelines.

The existing features and functionality are still supported (cancel on_new_commit & legacy auto cancellation).

How to set up and validate locally

  1. Set up the branch locally
  2. Create a new project blank for testing the pipelines
  3. Set up a new .gitlab-ci.yml file for flat pipelines or 2 ci-yml files for parent-child pipelines e.g. gitlab-ci.yml, child-pipeline-ci.yml
  4. Set up runners locally, docs here.
  5. On the right panel, navigate to CI --> Pipelines and try testing different cases out

Related to #438101 (closed)

Edited by Panos Kanellidis

Merge request reports