Skip to content

Downstream Pipeline. 25 jobs. An error occurred while making the request.

Summary

When using the "Run all manual" button in a Downstream Pipeline, if there are 10 or more manual jobs (e.g., 25 in our case), GitLab displays the error:

An error occurred while making the request.

(see attached screenshot)

Corelation_ID gitlab.com 01K7H7V1HF3EMDYPAAAKZYCC12


Steps to Reproduce

  1. Create or trigger a pipeline that includes 10+ manual jobs. (example)
  2. Open the Downstream Pipeline view.
  3. Click the "Run all manual" button.
  4. Observe the error message.

Versions Affected

  • GitLab Enterprise Edition 18.5.0-pre (on gitlab.com)
  • GitLab Community Edition 18.3.2

No issue in GitLab 17.x versions.


Additional Information

It appears that multiple Sidekiq instances are being started simultaneously and conflict with each other, leading to the 409 error.

A similar issue was described here:
👉 link to related issue

The project where the error is triggered. https://gitlab.com/CypressMan/test


Possible Cause

When "Run all manual" is triggered, multiple concurrent requests are made to start manual jobs.
If several Sidekiq workers process these requests in parallel, they may attempt to modify the same pipeline state, resulting in a 409 conflict.


Environment

  • Instance: gitlab.com (SaaS)
  • Edition: GitLab EE / CE
  • Pipeline type: Downstream pipeline with 25 manual jobs

Screenshot

error

Edited by 🤖 GitLab Bot 🤖