Enable ci_enforce_pipeline_variables_total_size_limit by default

What does this MR do and why?

Enables the ci_enforce_pipeline_variables_total_size_limit feature flag by default. When the flag is on, pipeline creation fails if the total size of pipeline variables is more than 10 MiB.

The flag is fully enabled on GitLab.com. We keep the flag for now and will remove it in a later milestone.

References

Screenshots or screen recordings

Not applicable, there is no UI change.

How to set up and validate locally

  1. In the Rails console, check that the flag is enabled without any override:
    Feature.remove(:ci_enforce_pipeline_variables_total_size_limit)
    Feature.enabled?(:ci_enforce_pipeline_variables_total_size_limit) # => true
  2. Trigger a pipeline with pipeline variables whose total size is more than 10 MiB. Pipeline creation fails.

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.

Merge request reports

Loading
Loading