Skip to content

Draft: Introduce Better Pipeline Processing [RUN ALL RSPEC] [RUN AS-IF-FOSS]

drew stachon requested to merge better-pipeline-processing into master

What does this MR do?

This change should prevent duplicate pipelines from being created when a developer pushes to a branch that is part of an open merge request.

To do this, we no-op the BaseHooksService#create_pipelines method if we detect that there are open merge requests with a source branch matching the push ref.

The original intent of this change is specifically to prevent duplicate pipelines, described in #300146. Further discussion with the CI team #325780 (comment 567959101) led to iteration on the proposal into how this change is built today. If you click the link to read the discussion, it is recommended you start with the linked comment and continue that thread, as the issue and discussion is quite large.

More work related to this effort can be found in the related epic &6044

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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
Edited by drew stachon

Merge request reports