Remove ci_rate_limit_child_pipelines_per_user feature flag
What does this MR do and why?
Removes the ci_rate_limit_child_pipelines_per_user feature flag now that it is fully rolled out on GitLab.com.
Child pipelines now always count toward the per-user pipeline creation rate limit (pipelines_created_per_user). They still skip the per-project, commit, and user limit (pipelines_create), because child pipelines share their parent's commit.
- Removes the flag definition and the
excluded_child_pipeline?check fromGitlab::Ci::Pipeline::Chain::Limit::RateLimit. - Removes the flag-off specs. The child pipeline specs for the enabled behavior stay.
- Documents how child pipelines count toward each limit in the pipeline creation rate limits docs, with a history entry.
References
- Rollout issue: #637468 (closed)
- Feature issue: https://gitlab.com/gitlab-org/gitlab/-/work_items/636881
- Introduced by: !267621 (merged)
Screenshots or screen recordings
Not applicable, no UI changes.
How to set up and validate locally
-
In the Rails console, set a low per-user limit:
ApplicationSetting.current.update!(pipeline_limit_per_user: 1) -
In a project whose
.gitlab-ci.ymltriggers a child pipeline, run a pipeline twice within one minute. -
The second child pipeline creation is blocked with
Too many pipelines created in the last minute. Try again later. -
Reset the limit with
ApplicationSetting.current.update!(pipeline_limit_per_user: 0).
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.