Remove feature flag ci_use_downstream_pipeline_duration_for_calculation
What does this MR do and why?
As titled, remove the feature flag ci_use_downstream_pipeline_duration_for_calculation
for the fix of !109445 (merged)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
-
Enable the feature flag:
rails runner 'Feature.enable(:ci_use_downstream_pipeline_duration_for_calculation)'
-
Create a project
356759-test-duration
-
Create
.gitlab-ci.yml
with the following content:# .gitlab-ci.yml run-child-pipeline: trigger: include: ci/child-pipeline.yml strategy: depend # ci/child-pipeline.yml stages: - build - test child-job: stage: build script: - echo "Running child job..." - sleep 20 - echo "Running complete." run-grand-child-pipeline: stage: test trigger: include: ci/grand-child-pipeline.yml strategy: depend # ci/grand-child-pipeline.yml grand-child-job: script: - echo "Running grand child job..." - sleep 15 - echo "Running complete."
-
Check if the pipeline takes the sum duration of
child-job
andgrand-child-job
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #356759 (closed), #387942 (closed)
Edited by Tianwen Chen