Skip to content

Re-add the PDM to disallow immediate namespace deletion on SaaS

What does this MR do and why?

This solves the issue reported by Post-deploy migration SetAllowImmediateNamespac... (#572443 - closed) and introduced by Add the allow_immediate_namespaces_deletion app... (!205554 - merged).

The previous PDM was made a no-op after it failed to run on a Cell: Make PDM no-op due to column not existing (!206523 - merged).

The PDM didn't have test and was modified after the migration testing pipeline ran (my bad!).

References

How to set up and validate locally

You can set the GITLAB_SIMULATE_SAAS to 1 in your local GDK before running the migration. The MR adds tests as well.

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.

Edited by Rémy Coutable

Merge request reports

Loading