feat: harden deletion with timeout, namespace cleanup, and force-remo…#66
Conversation
…ve on stuck uninstall
SummaryThe following content is AI-generated and provides a summary of the pull request:
Harden GPU Operator Deletion with Timeout, Namespace Cleanup, and Force-Remove on Stuck UninstallNew Feature🛡️ Hardens the GPU Operator deletion flow by introducing a configurable uninstall timeout, explicit Changes
PR Bot InformationVersion:
|
There was a problem hiding this comment.
- Could not get issue
kyma-project/gpu#123. Status: 404 - UnknownObjectException
The PR hardens the deletion path with a Helm uninstall timeout, force-finalizer removal on stuck uninstalls, and explicit namespace cleanup. The logic is mostly sound, but there are a few substantive issues: the timeout path skips namespace cleanup (contradicting the PR's goal), removeFinalizer doesn't guard against NotFound on re-fetch, isTimeoutError can false-positive on reconciler-context cancellation, the Helm context.Context parameter is silently discarded with no cancellation path during the blocking wait, and the namespace-deletion test is missing an assertion that Uninstall was actually invoked.
PR Bot Information
Version: 1.21.0
- Agent Instructions:
- LLM:
anthropic--claude-4.6-sonnet - Event Trigger:
pull_request.opened - File Content Strategy: Full file content
- Correlation ID:
a7b14c00-3239-4bba-8ce8-f8e10304b63f
…ve on stuck uninstall
Description
Changes proposed in this pull request:
Related issue(s)
#56