Recover long stopping environments
Why
See Recover and long running stuck-stopping environ... (#425162 - closed) for more.
We want to recover environments that have been stuck in a stopping state for too long.
What
- add new scope to represent the environments that have been stuck stopping for too long
- add a service that can look for the environments and recover them
- call service from existing cron job
- add specs
Database
https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/23704/commands/76135
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Hunter Stewart