Issue: Deferrable KubernetesPodOperator Orphans Pods When Task Is Killed Manually
Issue: Deferrable KubernetesPodOperator Orphans Pods When Task Is Killed Manually: a task in LegoFlow-SWE (Harbor dataset). When a KubernetesPodOperator task is running in deferrable mode ( deferrable=True ) and a user manually marks the task as failed or succeeded from the Airflow UI, the…
The task
When a `KubernetesPodOperator` task is running in **deferrable mode** (`deferrable=True`) and a user manually marks the task as failed or succeeded from the Airflow UI, the associated Kubernetes pod is **not deleted**. The pod continues running indefinitely, even though the task has already terminated. This does not…
Part of Lego-X/LegoFlow-SWE.