The GitHub Actions job "Tests" on 
airflow.git/fix/docker-on-kill-auto-remove-force has failed.
Run started by GitHub user galafis (triggered by potiuk).

Head commit for run:
adc9dfe3d0861c33f74bcbe21aafc38a9fc1b9d0 / Gabriel Demetrios Lafis 
<[email protected]>
fix(docker): respect auto_remove='force' in on_kill method

When a DockerOperator task is killed via the Airflow UI, the on_kill method 
only calls self.cli.stop() but does not remove the container when 
auto_remove='force' is set. This leaves orphaned containers that cause 409 
Conflict errors on subsequent runs.

This commit adds container removal logic after stopping, checking if 
auto_remove='force' and calling self.cli.remove_container() accordingly.

Fixes #56149

Report URL: https://github.com/apache/airflow/actions/runs/23152111961

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to