Analysis: Job difference between pipelines on backports and on stable branches
Analyze
The number of jobs vastly differs between pipelines executed at the merge request (pre-merge) level and on stable branches (post-merge). To understand the difference, I created a brief ruby script to fetch the jobs from each pipeline. Outcome:
- The pre-merge pipeline has 765 jobs, while the post-merge pipeline contains 297
- Jobs included in the pre-merge pipeline include almost all the jobs of the post-merge pipeline
- Pre-merge pipeline includes several downstream pipelines to test different end-to-end workflows (
e2e:test-product-analytics
,e2e:test-on-gdk
,e2e:test-on-omnibus-ee
,start-as-if-foss
) - Post-merge pipeline includes release environments.
Note the post-merge pipeline is analyzed on the security side to include the release environments jobs.
Open questions:
- Can it be assumed the pre-merge pipeline will always include the jobs of the post-merge pipeline?
- Jobs on pre-merge pipelines can vary, for example, other pipelines have 403 jobs and 593 jobs respectively. What is the difference between these two?
Details
Jobs included on the pipeline but not at merge request:
jobs_stable = ReleaseTools::GitlabClient.pipeline_jobs(project, 1715473122).auto_paginate
jobs_merge_request = ReleaseTools::GitlabClient.pipeline_jobs(project.security_path, 1715476070).auto_paginate
jobs_stable.map(&:name) - jobs_merge_request.map(&:name)
=> ["sync-stable-branch"]
Jobs that are on merge request but not in the pipeline:
Click to expand
jobs_stable = ReleaseTools::GitlabClient.pipeline_jobs(project, 1715473122).auto_paginate
jobs_merge_request = ReleaseTools::GitlabClient.pipeline_jobs(project.security_path, 1715476070).auto_paginate
jobs_merge_request.map(&:name) - jobs_stable.map(&:name)
=> ["notify-test-on-omnibus-failure",
"fail-pipeline-early",
"rspec:merge-auto-explain-logs",
"rspec:undercoverage",
"rspec:coverage",
"rspec:artifact-collector as-if-foss",
"rspec rspec-ee-pg14-rerun-previous-failed-tests",
"rspec rspec-pg14-rerun-previous-failed-tests",
"rspec-ee fail-fast",
"rspec fail-fast",
"rspec-ee system pg14 single-db-ci-connection 16/16",
"rspec-ee system pg14 single-db-ci-connection 15/16",
"rspec-ee system pg14 single-db-ci-connection 14/16",
"rspec-ee system pg14 single-db-ci-connection 13/16",
"rspec-ee system pg14 single-db-ci-connection 12/16",
"rspec-ee system pg14 single-db-ci-connection 11/16",
"rspec-ee system pg14 single-db-ci-connection 10/16",
"rspec-ee system pg14 single-db-ci-connection 9/16",
"rspec-ee system pg14 single-db-ci-connection 8/16",
"rspec-ee system pg14 single-db-ci-connection 7/16",
"rspec-ee system pg14 single-db-ci-connection 6/16",
"rspec-ee system pg14 single-db-ci-connection 5/16",
"rspec-ee system pg14 single-db-ci-connection 4/16",
"rspec-ee system pg14 single-db-ci-connection 3/16",
"rspec-ee system pg14 single-db-ci-connection 2/16",
"rspec-ee system pg14 single-db-ci-connection 1/16",
"rspec-ee system pg14 single-db 16/16",
"rspec-ee system pg14 single-db 15/16",
"rspec-ee system pg14 single-db 14/16",
"rspec-ee system pg14 single-db 13/16",
"rspec-ee system pg14 single-db 12/16",
"rspec-ee system pg14 single-db 11/16",
"rspec-ee system pg14 single-db 10/16",
"rspec-ee system pg14 single-db 9/16",
"rspec-ee system pg14 single-db 8/16",
"rspec-ee system pg14 single-db 7/16",
"rspec-ee system pg14 single-db 6/16",
"rspec-ee system pg14 single-db 5/16",
"rspec-ee system pg14 single-db 4/16",
"rspec-ee system pg14 single-db 3/16",
"rspec-ee system pg14 single-db 2/16",
"rspec-ee system pg14 single-db 1/16",
"rspec-ee integration pg14 single-db-ci-connection 9/9",
"rspec-ee integration pg14 single-db-ci-connection 8/9",
"rspec-ee integration pg14 single-db-ci-connection 7/9",
"rspec-ee integration pg14 single-db-ci-connection 6/9",
"rspec-ee integration pg14 single-db-ci-connection 5/9",
"rspec-ee integration pg14 single-db-ci-connection 4/9",
"rspec-ee integration pg14 single-db-ci-connection 3/9",
"rspec-ee integration pg14 single-db-ci-connection 2/9",
"rspec-ee integration pg14 single-db-ci-connection 1/9",
"rspec-ee integration pg14 single-db 9/9",
"rspec-ee integration pg14 single-db 8/9",
"rspec-ee integration pg14 single-db 7/9",
"rspec-ee integration pg14 single-db 6/9",
"rspec-ee integration pg14 single-db 5/9",
"rspec-ee integration pg14 single-db 4/9",
"rspec-ee integration pg14 single-db 3/9",
"rspec-ee integration pg14 single-db 2/9",
"rspec-ee integration pg14 single-db 1/9",
"rspec-ee unit pg14 single-db-ci-connection 39/39",
"rspec-ee unit pg14 single-db-ci-connection 38/39",
"rspec-ee unit pg14 single-db-ci-connection 37/39",
"rspec-ee unit pg14 single-db-ci-connection 36/39",
"rspec-ee unit pg14 single-db-ci-connection 35/39",
"rspec-ee unit pg14 single-db-ci-connection 34/39",
"rspec-ee unit pg14 single-db-ci-connection 33/39",
"rspec-ee unit pg14 single-db-ci-connection 32/39",
"rspec-ee unit pg14 single-db-ci-connection 31/39",
"rspec-ee unit pg14 single-db-ci-connection 30/39",
"rspec-ee unit pg14 single-db-ci-connection 29/39",
"rspec-ee unit pg14 single-db-ci-connection 28/39",
"rspec-ee unit pg14 single-db-ci-connection 27/39",
"rspec-ee unit pg14 single-db-ci-connection 26/39",
"rspec-ee unit pg14 single-db-ci-connection 25/39",
"rspec-ee unit pg14 single-db-ci-connection 24/39",
"rspec-ee unit pg14 single-db-ci-connection 23/39",
"rspec-ee unit pg14 single-db-ci-connection 22/39",
"rspec-ee unit pg14 single-db-ci-connection 21/39",
"rspec-ee unit pg14 single-db-ci-connection 20/39",
"rspec-ee unit pg14 single-db-ci-connection 19/39",
"rspec-ee unit pg14 single-db-ci-connection 18/39",
"rspec-ee unit pg14 single-db-ci-connection 17/39",
"rspec-ee unit pg14 single-db-ci-connection 16/39",
"rspec-ee unit pg14 single-db-ci-connection 15/39",
"rspec-ee unit pg14 single-db-ci-connection 14/39",
"rspec-ee unit pg14 single-db-ci-connection 13/39",
"rspec-ee unit pg14 single-db-ci-connection 12/39",
"rspec-ee unit pg14 single-db-ci-connection 11/39",
"rspec-ee unit pg14 single-db-ci-connection 10/39",
"rspec-ee unit pg14 single-db-ci-connection 9/39",
"rspec-ee unit pg14 single-db-ci-connection 8/39",
"rspec-ee unit pg14 single-db-ci-connection 7/39",
"rspec-ee unit pg14 single-db-ci-connection 6/39",
"rspec-ee unit pg14 single-db-ci-connection 5/39",
"rspec-ee unit pg14 single-db-ci-connection 4/39",
"rspec-ee unit pg14 single-db-ci-connection 3/39",
"rspec-ee unit pg14 single-db-ci-connection 2/39",
"rspec-ee unit pg14 single-db-ci-connection 1/39",
"rspec-ee unit pg14 single-db 39/39",
"rspec-ee unit pg14 single-db 38/39",
"rspec-ee unit pg14 single-db 37/39",
"rspec-ee unit pg14 single-db 36/39",
"rspec-ee unit pg14 single-db 35/39",
"rspec-ee unit pg14 single-db 34/39",
"rspec-ee unit pg14 single-db 33/39",
"rspec-ee unit pg14 single-db 32/39",
"rspec-ee unit pg14 single-db 31/39",
"rspec-ee unit pg14 single-db 30/39",
"rspec-ee unit pg14 single-db 29/39",
"rspec-ee unit pg14 single-db 28/39",
"rspec-ee unit pg14 single-db 27/39",
"rspec-ee unit pg14 single-db 26/39",
"rspec-ee unit pg14 single-db 25/39",
"rspec-ee unit pg14 single-db 24/39",
"rspec-ee unit pg14 single-db 23/39",
"rspec-ee unit pg14 single-db 22/39",
"rspec-ee unit pg14 single-db 21/39",
"rspec-ee unit pg14 single-db 20/39",
"rspec-ee unit pg14 single-db 19/39",
"rspec-ee unit pg14 single-db 18/39",
"rspec-ee unit pg14 single-db 17/39",
"rspec-ee unit pg14 single-db 16/39",
"rspec-ee unit pg14 single-db 15/39",
"rspec-ee unit pg14 single-db 14/39",
"rspec-ee unit pg14 single-db 13/39",
"rspec-ee unit pg14 single-db 12/39",
"rspec-ee unit pg14 single-db 11/39",
"rspec-ee unit pg14 single-db 10/39",
"rspec-ee unit pg14 single-db 9/39",
"rspec-ee unit pg14 single-db 8/39",
"rspec-ee unit pg14 single-db 7/39",
"rspec-ee unit pg14 single-db 6/39",
"rspec-ee unit pg14 single-db 5/39",
"rspec-ee unit pg14 single-db 4/39",
"rspec-ee unit pg14 single-db 3/39",
"rspec-ee unit pg14 single-db 2/39",
"rspec-ee unit pg14 single-db 1/39",
"rspec-ee background_migration pg14 single-db-ci-connection 3/3",
"rspec-ee background_migration pg14 single-db-ci-connection 2/3",
"rspec-ee background_migration pg14 single-db-ci-connection 1/3",
"rspec-ee migration pg14 single-db-ci-connection 2/2",
"rspec-ee migration pg14 single-db-ci-connection 1/2",
"rspec-ee background_migration pg14 single-db 3/3",
"rspec-ee background_migration pg14 single-db 2/3",
"rspec-ee background_migration pg14 single-db 1/3",
"rspec-ee migration pg14 single-db 2/2",
"rspec-ee migration pg14 single-db 1/2",
"rspec-ee unit gitlab-duo-chat-qa pg14",
"rspec-ee unit gitlab-duo-chat-zeroshot pg14",
"rspec fast_spec_helper",
"rspec system pg14 single-db-ci-connection 32/32",
"rspec system pg14 single-db-ci-connection 31/32",
"rspec system pg14 single-db-ci-connection 30/32",
"rspec system pg14 single-db-ci-connection 29/32",
"rspec system pg14 single-db-ci-connection 28/32",
"rspec system pg14 single-db-ci-connection 27/32",
"rspec system pg14 single-db-ci-connection 26/32",
"rspec system pg14 single-db-ci-connection 25/32",
"rspec system pg14 single-db-ci-connection 24/32",
"rspec system pg14 single-db-ci-connection 23/32",
"rspec system pg14 single-db-ci-connection 22/32",
"rspec system pg14 single-db-ci-connection 21/32",
"rspec system pg14 single-db-ci-connection 20/32",
"rspec system pg14 single-db-ci-connection 19/32",
"rspec system pg14 single-db-ci-connection 18/32",
"rspec system pg14 single-db-ci-connection 17/32",
"rspec system pg14 single-db-ci-connection 16/32",
"rspec system pg14 single-db-ci-connection 15/32",
"rspec system pg14 single-db-ci-connection 14/32",
"rspec system pg14 single-db-ci-connection 13/32",
"rspec system pg14 single-db-ci-connection 12/32",
"rspec system pg14 single-db-ci-connection 11/32",
"rspec system pg14 single-db-ci-connection 10/32",
"rspec system pg14 single-db-ci-connection 9/32",
"rspec system pg14 single-db-ci-connection 8/32",
"rspec system pg14 single-db-ci-connection 7/32",
"rspec system pg14 single-db-ci-connection 6/32",
"rspec system pg14 single-db-ci-connection 5/32",
"rspec system pg14 single-db-ci-connection 4/32",
"rspec system pg14 single-db-ci-connection 3/32",
"rspec system pg14 single-db-ci-connection 2/32",
"rspec system pg14 single-db-ci-connection 1/32",
"rspec system pg14 single-db 32/32",
"rspec system pg14 single-db 31/32",
"rspec system pg14 single-db 30/32",
"rspec system pg14 single-db 29/32",
"rspec system pg14 single-db 28/32",
"rspec system pg14 single-db 27/32",
"rspec system pg14 single-db 26/32",
"rspec system pg14 single-db 25/32",
"rspec system pg14 single-db 24/32",
"rspec system pg14 single-db 23/32",
"rspec system pg14 single-db 22/32",
"rspec system pg14 single-db 21/32",
"rspec system pg14 single-db 20/32",
"rspec system pg14 single-db 19/32",
"rspec system pg14 single-db 18/32",
"rspec system pg14 single-db 17/32",
"rspec system pg14 single-db 16/32",
"rspec system pg14 single-db 15/32",
"rspec system pg14 single-db 14/32",
"rspec system pg14 single-db 13/32",
"rspec system pg14 single-db 12/32",
"rspec system pg14 single-db 11/32",
"rspec system pg14 single-db 10/32",
"rspec system pg14 single-db 9/32",
"rspec system pg14 single-db 8/32",
"rspec system pg14 single-db 7/32",
"rspec system pg14 single-db 6/32",
"rspec system pg14 single-db 5/32",
"rspec system pg14 single-db 4/32",
"rspec system pg14 single-db 3/32",
"rspec system pg14 single-db 2/32",
"rspec system pg14 single-db 1/32",
"rspec integration pg14 single-db-ci-connection 20/20",
"rspec integration pg14 single-db-ci-connection 19/20",
"rspec integration pg14 single-db-ci-connection 18/20",
"rspec integration pg14 single-db-ci-connection 17/20",
"rspec integration pg14 single-db-ci-connection 16/20",
"rspec integration pg14 single-db-ci-connection 15/20",
"rspec integration pg14 single-db-ci-connection 14/20",
"rspec integration pg14 single-db-ci-connection 13/20",
"rspec integration pg14 single-db-ci-connection 12/20",
"rspec integration pg14 single-db-ci-connection 11/20",
"rspec integration pg14 single-db-ci-connection 10/20",
"rspec integration pg14 single-db-ci-connection 9/20",
"rspec integration pg14 single-db-ci-connection 8/20",
"rspec integration pg14 single-db-ci-connection 7/20",
"rspec integration pg14 single-db-ci-connection 6/20",
"rspec integration pg14 single-db-ci-connection 5/20",
"rspec integration pg14 single-db-ci-connection 4/20",
"rspec integration pg14 single-db-ci-connection 3/20",
"rspec integration pg14 single-db-ci-connection 2/20",
"rspec integration pg14 single-db-ci-connection 1/20",
"rspec integration pg14 single-db 20/20",
"rspec integration pg14 single-db 19/20",
"rspec integration pg14 single-db 18/20",
"rspec integration pg14 single-db 17/20",
"rspec integration pg14 single-db 16/20",
"rspec integration pg14 single-db 15/20",
"rspec integration pg14 single-db 14/20",
"rspec integration pg14 single-db 13/20",
"rspec integration pg14 single-db 12/20",
"rspec integration pg14 single-db 11/20",
"rspec integration pg14 single-db 10/20",
"rspec integration pg14 single-db 9/20",
"rspec integration pg14 single-db 8/20",
"rspec integration pg14 single-db 7/20",
"rspec integration pg14 single-db 6/20",
"rspec integration pg14 single-db 5/20",
"rspec integration pg14 single-db 4/20",
"rspec integration pg14 single-db 3/20",
"rspec integration pg14 single-db 2/20",
"rspec integration pg14 single-db 1/20",
"rspec unit pg14 single-db-ci-connection 44/44",
"rspec unit pg14 single-db-ci-connection 43/44",
"rspec unit pg14 single-db-ci-connection 42/44",
"rspec unit pg14 single-db-ci-connection 41/44",
"rspec unit pg14 single-db-ci-connection 40/44",
"rspec unit pg14 single-db-ci-connection 39/44",
"rspec unit pg14 single-db-ci-connection 38/44",
"rspec unit pg14 single-db-ci-connection 37/44",
"rspec unit pg14 single-db-ci-connection 36/44",
"rspec unit pg14 single-db-ci-connection 35/44",
"rspec unit pg14 single-db-ci-connection 34/44",
"rspec unit pg14 single-db-ci-connection 33/44",
"rspec unit pg14 single-db-ci-connection 32/44",
"rspec unit pg14 single-db-ci-connection 31/44",
"rspec unit pg14 single-db-ci-connection 30/44",
"rspec unit pg14 single-db-ci-connection 29/44",
"rspec unit pg14 single-db-ci-connection 28/44",
"rspec unit pg14 single-db-ci-connection 27/44",
"rspec unit pg14 single-db-ci-connection 26/44",
"rspec unit pg14 single-db-ci-connection 25/44",
"rspec unit pg14 single-db-ci-connection 24/44",
"rspec unit pg14 single-db-ci-connection 23/44",
"rspec unit pg14 single-db-ci-connection 22/44",
"rspec unit pg14 single-db-ci-connection 21/44",
"rspec unit pg14 single-db-ci-connection 20/44",
"rspec unit pg14 single-db-ci-connection 19/44",
"rspec unit pg14 single-db-ci-connection 18/44",
"rspec unit pg14 single-db-ci-connection 17/44",
"rspec unit pg14 single-db-ci-connection 16/44",
"rspec unit pg14 single-db-ci-connection 15/44",
"rspec unit pg14 single-db-ci-connection 14/44",
"rspec unit pg14 single-db-ci-connection 13/44",
"rspec unit pg14 single-db-ci-connection 12/44",
"rspec unit pg14 single-db-ci-connection 11/44",
"rspec unit pg14 single-db-ci-connection 10/44",
"rspec unit pg14 single-db-ci-connection 9/44",
"rspec unit pg14 single-db-ci-connection 8/44",
"rspec unit pg14 single-db-ci-connection 7/44",
"rspec unit pg14 single-db-ci-connection 6/44",
"rspec unit pg14 single-db-ci-connection 5/44",
"rspec unit pg14 single-db-ci-connection 4/44",
"rspec unit pg14 single-db-ci-connection 3/44",
"rspec unit pg14 single-db-ci-connection 2/44",
"rspec unit pg14 single-db-ci-connection 1/44",
"rspec unit pg14 single-db 44/44",
"rspec unit pg14 single-db 43/44",
"rspec unit pg14 single-db 42/44",
"rspec unit pg14 single-db 41/44",
"rspec unit pg14 single-db 40/44",
"rspec unit pg14 single-db 39/44",
"rspec unit pg14 single-db 38/44",
"rspec unit pg14 single-db 37/44",
"rspec unit pg14 single-db 36/44",
"rspec unit pg14 single-db 35/44",
"rspec unit pg14 single-db 34/44",
"rspec unit pg14 single-db 33/44",
"rspec unit pg14 single-db 32/44",
"rspec unit pg14 single-db 31/44",
"rspec unit pg14 single-db 30/44",
"rspec unit pg14 single-db 29/44",
"rspec unit pg14 single-db 28/44",
"rspec unit pg14 single-db 27/44",
"rspec unit pg14 single-db 26/44",
"rspec unit pg14 single-db 25/44",
"rspec unit pg14 single-db 24/44",
"rspec unit pg14 single-db 23/44",
"rspec unit pg14 single-db 22/44",
"rspec unit pg14 single-db 21/44",
"rspec unit pg14 single-db 20/44",
"rspec unit pg14 single-db 19/44",
"rspec unit pg14 single-db 18/44",
"rspec unit pg14 single-db 17/44",
"rspec unit pg14 single-db 16/44",
"rspec unit pg14 single-db 15/44",
"rspec unit pg14 single-db 14/44",
"rspec unit pg14 single-db 13/44",
"rspec unit pg14 single-db 12/44",
"rspec unit pg14 single-db 11/44",
"rspec unit pg14 single-db 10/44",
"rspec unit pg14 single-db 9/44",
"rspec unit pg14 single-db 8/44",
"rspec unit pg14 single-db 7/44",
"rspec unit pg14 single-db 6/44",
"rspec unit pg14 single-db 5/44",
"rspec unit pg14 single-db 4/44",
"rspec unit pg14 single-db 3/44",
"rspec unit pg14 single-db 2/44",
"rspec unit pg14 single-db 1/44",
"rspec background_migration pg14 single-db-ci-connection 17/17",
"rspec background_migration pg14 single-db-ci-connection 16/17",
"rspec background_migration pg14 single-db-ci-connection 15/17",
"rspec background_migration pg14 single-db-ci-connection 14/17",
"rspec background_migration pg14 single-db-ci-connection 13/17",
"rspec background_migration pg14 single-db-ci-connection 12/17",
"rspec background_migration pg14 single-db-ci-connection 11/17",
"rspec background_migration pg14 single-db-ci-connection 10/17",
"rspec background_migration pg14 single-db-ci-connection 9/17",
"rspec background_migration pg14 single-db-ci-connection 8/17",
"rspec background_migration pg14 single-db-ci-connection 7/17",
"rspec background_migration pg14 single-db-ci-connection 6/17",
"rspec background_migration pg14 single-db-ci-connection 5/17",
"rspec background_migration pg14 single-db-ci-connection 4/17",
"rspec background_migration pg14 single-db-ci-connection 3/17",
"rspec background_migration pg14 single-db-ci-connection 2/17",
"rspec background_migration pg14 single-db-ci-connection 1/17",
"rspec migration pg14 single-db-ci-connection 26/26",
"rspec migration pg14 single-db-ci-connection 25/26",
"rspec migration pg14 single-db-ci-connection 24/26",
"rspec migration pg14 single-db-ci-connection 23/26",
"rspec migration pg14 single-db-ci-connection 22/26",
"rspec migration pg14 single-db-ci-connection 21/26",
"rspec migration pg14 single-db-ci-connection 20/26",
"rspec migration pg14 single-db-ci-connection 19/26",
"rspec migration pg14 single-db-ci-connection 18/26",
"rspec migration pg14 single-db-ci-connection 17/26",
"rspec migration pg14 single-db-ci-connection 16/26",
"rspec migration pg14 single-db-ci-connection 15/26",
"rspec migration pg14 single-db-ci-connection 14/26",
"rspec migration pg14 single-db-ci-connection 13/26",
"rspec migration pg14 single-db-ci-connection 12/26",
"rspec migration pg14 single-db-ci-connection 11/26",
"rspec migration pg14 single-db-ci-connection 10/26",
"rspec migration pg14 single-db-ci-connection 9/26",
"rspec migration pg14 single-db-ci-connection 8/26",
"rspec migration pg14 single-db-ci-connection 7/26",
"rspec migration pg14 single-db-ci-connection 6/26",
"rspec migration pg14 single-db-ci-connection 5/26",
"rspec migration pg14 single-db-ci-connection 4/26",
"rspec migration pg14 single-db-ci-connection 3/26",
"rspec migration pg14 single-db-ci-connection 2/26",
"rspec migration pg14 single-db-ci-connection 1/26",
"rspec background_migration pg14 single-db 17/17",
"rspec background_migration pg14 single-db 16/17",
"rspec background_migration pg14 single-db 15/17",
"rspec background_migration pg14 single-db 14/17",
"rspec background_migration pg14 single-db 13/17",
"rspec background_migration pg14 single-db 12/17",
"rspec background_migration pg14 single-db 11/17",
"rspec background_migration pg14 single-db 10/17",
"rspec background_migration pg14 single-db 9/17",
"rspec background_migration pg14 single-db 8/17",
"rspec background_migration pg14 single-db 7/17",
"rspec background_migration pg14 single-db 6/17",
"rspec background_migration pg14 single-db 5/17",
"rspec background_migration pg14 single-db 4/17",
"rspec background_migration pg14 single-db 3/17",
"rspec background_migration pg14 single-db 2/17",
"rspec background_migration pg14 single-db 1/17",
"rspec migration pg14 single-db 26/26",
"rspec migration pg14 single-db 25/26",
"rspec migration pg14 single-db 24/26",
"rspec migration pg14 single-db 23/26",
"rspec migration pg14 single-db 22/26",
"rspec migration pg14 single-db 21/26",
"rspec migration pg14 single-db 20/26",
"rspec migration pg14 single-db 19/26",
"rspec migration pg14 single-db 18/26",
"rspec migration pg14 single-db 17/26",
"rspec migration pg14 single-db 16/26",
"rspec migration pg14 single-db 15/26",
"rspec migration pg14 single-db 14/26",
"rspec migration pg14 single-db 13/26",
"rspec migration pg14 single-db 12/26",
"rspec migration pg14 single-db 11/26",
"rspec migration pg14 single-db 10/26",
"rspec migration pg14 single-db 9/26",
"rspec migration pg14 single-db 8/26",
"rspec migration pg14 single-db 7/26",
"rspec migration pg14 single-db 6/26",
"rspec migration pg14 single-db 5/26",
"rspec migration pg14 single-db 4/26",
"rspec migration pg14 single-db 3/26",
"rspec migration pg14 single-db 2/26",
"rspec migration pg14 single-db 1/26",
"db:docs-up-to-date",
"db:gitlabcom-database-testing",
"db:migrate-non-superuser",
"db:post_deployment_migrations_validator-single-db",
"db:post_deployment_migrations_validator",
"db:check-migrations-single-db",
"db:check-migrations",
"db:check-schema-single-db",
"db:check-schema",
"db:migrate:reset single-db",
"db:rollback single-db",
"db:post_deployment_migrations_validator-single-db-ci-connection",
"db:check-schema-single-db-ci-connection",
"db:migrate:reset single-db-ci-connection",
"db:rollback single-db-ci-connection",
"jest-with-fixtures vue3 check quarantined 1/1",
"jest vue3 check quarantined 4/4",
"jest vue3 check quarantined 3/4",
"jest vue3 check quarantined 2/4",
"jest vue3 check quarantined 1/4",
"ping-appsec-for-sast-findings",
"semgrep-appsec-custom-rules",
"build-gdk-image",
"e2e-test-pipeline-generate",
"detect-previous-failed-tests",
"detect-tests",
"set-pipeline-name",
"rspec-predictive:pipeline-generate",
"gdk:compile-test-assets",
"delete-as-if-foss-environment",
"delete-as-if-foss-branch",
"prepare-as-if-foss-env",
"prepare-as-if-foss-branch",
"danger-review dry-run",
"danger-review",
"pipeline-tier-3"]
Bridge jobs included in pre-merge but not post-merge
[38] pry(main)> bridge_merge.map(&:name) - bridge_stable.map(&:name)
=> ["e2e:test-product-analytics", "e2e:test-on-gdk", "e2e:test-on-omnibus-ee", "start-as-if-foss"]
Bridge jobs included in post-merge but not pre-merge
[37] pry(main)> bridge_stable.map(&:name) - bridge_merge.map(&:name)
=> ["start-release-environments-security-pipeline"]
Analysis Outcome
There is a difference between pipelines on backports and stable branches due to the behavior of our MR pipelines.
The jobs that are run in a backport pipeline are majorly affected by the changes in the MR.
For instance, updating a gem will trigger certain jobs and not have other jobs. The same is true for other changes (frontend, backend, tooling, etc). This results in the job counts being very different, but predictable.
The backport MR (pre-merge) pipeline is essentially a sub-set of the stable branch (post-merge) pipeline. The post-merge pipeline is designed to be one of the last quality gates before release, resulting in the post-merge pipeline often having more jobs and running longer.