Skip to content

Introduce in_pre_enforcement_phase? method

Mohamed Hamda requested to merge under_enforcement_limit_method into master

What does this MR do and why?

This MR closes https://gitlab.com/gitlab-org/gitlab/-/issues/415455

Agreed on this solution on: https://gitlab.com/gitlab-org/gitlab/-/issues/415455#note_1436185871 (Pleas check final notes + the recording)

In this MR, we:

  • Introduce and Add in_pre_enforcement_phase?
  • Add automatic_purchased_storage_allocation check
  • Rename specs helper to set_enforcement_limit for better readability (Huge number of files changed but naming are not breaking)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mohamed Hamda

Merge request reports