Disable the option to archive/delete a project if there are active environments associated to it
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Carryover proposal item (4) from the MVC released in #24866 (closed)
Problem to solve
This issue was raised from #25573 (closed). The problem is that Environments are not stopped when project is archived and cannot be stopped after archiving.
Proposal
Options:
- Do not execute project deletion and archiving when there are any active Environments in the project. When user tries to delete/archive a project, display an error to the user to
To archive/delete, stop all environments first \[link\]which can be done via #19724 (closed). - Stop the Environment automatically upon archiving and deletion.
For projects with active environments that are archived before this change is implemented, we could recommend that users unarchive the project in order to stop environments, and then archive it again once ready.
Edited by 🤖 GitLab Bot 🤖