A job cannot depend on more than 50 parallel matrix jobs (stageless)
Summary
A customer is using a stageless pipeline. Their pipeline has a parallel matrix of 60 test jobs. They have a job that depends on those tests to complete. When they try to create a dependency with "needs", an error presents (Unable to create pipeline: One job can only need 50 others, but you have 60.
Steps to reproduce
Create a stageless pipeline. Have a parallel job of more than 50 parallel tests. A job must run after the tests complete with "needs" attribute.
Example Project
What is the current bug behavior?
Allow job in stageless pipeline to depend on more than 50 jobs.
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
tests
Parallel Tests:
needs:
- job: "Initiate Test Run"
dependencies:
- Initiate Test Run
script:
- mvn verify test $MAVEN_CLI_OPTS $MAVEN_OPTS -P CI,NOFIXMES,SKIP-INTERMITTENTS -pl $MODULE
...
parallel:
matrix:
- MODULE:
- '...'
- '...' #60 modules
Documentation Tests:
needs:
- job: "Parallel Tests"
dependencies:
- Initiate Test Run
...
parallel:
matrix:
- MODULE:
- '...'
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)
