Skip to content

Disable delayed project deletion feature for personal projects

What does this MR do and why?

  • This MR Reverts the changes in MR !89466 (merged) that enabled delayed deletion for projects under user namespaces.
  • After we enabled delayed deletion for projects under user namespaces we observed a couple of issues:
    • free users were running into usage quota limitations and cannot immediately delete projects which they previously could do.
    • Unable to fork project after deleting a fork #369498 (closed).

Screenshots or screen recordings

How to set up and validate locally

  1. Ensure that your GDK/local setup has ultimate license.
  2. Enable delayed deletion feature at the instance level by navigating to Admin > Settings > General and enable "Default delayed project deletion" and set "Default deletion delay" to a value greater than 0.
Testing that a project gets deleted immediately.
  1. Create a project under a user.
  2. Navigate to the project settings and delete the project.
  3. The project should get deleted immediately.
Testing that we can fork a project multiple times successfully.
  1. Fork a project under a user's namespace.
  2. Delete the fork.
  3. Navigate to the original project and fork it again.
  4. You should be able to fork it successfully again.

MR acceptance checklist

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

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/369077 #369498 (closed)

Edited by Huzaifa Iftikhar

Merge request reports