Replace finders project pending_delete with deletion_in_progress and model scopes

What does this MR do and why?

Replace finders project pending_delete with deletion in progress

This is part 2 of #550627

Changes in This MR

Feature Flag

  • Created use_deletion_in_progress_in_finders

Project Model

  • Added deletion_in_progress scope - queries namespace state machine
  • Added not_deletion_in_progress scope - inverse of above
  • Kept existing pending_delete and without_deleted scopes unchanged

Core Finders

  • ProjectsFinder

References

Closes #587867 (closed)

Query Plans

Screenshots or screen recordings

Before After

How to set up and validate locally

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 Shubham Kumar

Merge request reports

Loading