fix(backups): remove snapshot finalizers blocking pvc deletion #7480
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 239 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.328
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7480"
general
weight: 0.35
geoberle
https://redhat.atlassian.net/browse/ARO-29976
What
Adds a controller to mgmt-agent to remove the external-shapshotter finalizer from PVCs that are being deleted when the external-snapshotter leaves them behind.
Why
When multiple PVCs are snapshotted the external-snapshotter component can leave the finalizer behind which blocks hosted control plane namespace deletion.
Ref:
Testing
Unit tests added alongside the controller.
Manual testing in personal environment by adding the finalizer to the PVC manually and deleting the hosted cluster, validating the finalizer is removed and PVC is deleting unblocking the control plane namespace deletion.
Special notes for your reviewer
<!-- optional -->
PR Checklist
If E2E tests are included:
demonstrate that the test is able to detect a defect/error and fail with
proper error message and logs which communicates nature of the problem.