Description
Currently, when a workspace is deleted, a cleanup job runs to remove workspace-related files from the common PVC. This job can fail (if the pod fails above a threshold), but in some cases it can just hang indefinitely, if e.g. the pod cannot be scheduled, etc.
We should apply the same logic we use for checking workspace pods for failure to the PVC cleanup job that runs on DevWorkspace deletion. If a PVC cleanup job fails, the workspace should be treated in the same way as when the PVC cleanup job fails.
Description
Currently, when a workspace is deleted, a cleanup job runs to remove workspace-related files from the common PVC. This job can fail (if the pod fails above a threshold), but in some cases it can just hang indefinitely, if e.g. the pod cannot be scheduled, etc.
We should apply the same logic we use for checking workspace pods for failure to the PVC cleanup job that runs on DevWorkspace deletion. If a PVC cleanup job fails, the workspace should be treated in the same way as when the PVC cleanup job fails.