The GitHub Actions job "Tests (AMD)" on 
airflow.git/feature/redshift-resume-before-delete has succeeded.
Run started by GitHub user seanghaeli (triggered by seanghaeli).

Head commit for run:
b3ae9163009ec3e29f95b341377c494ad0bddb6c / Sean Ghaeli <[email protected]>
Resume a paused Redshift cluster before deleting it (opt-in)

A ``paused`` Redshift cluster cannot be deleted: ``delete_cluster`` raises
``InvalidClusterStateFault`` ("There is an operation running on the Cluster"),
and ``RedshiftDeleteClusterOperator``'s retry loop can't recover, since a
paused cluster never leaves that state on its own, so the cluster is left
behind -- silently leaked until external cleanup reaps it.

Add an opt-in ``resume_if_paused`` flag (default ``False``): when enabled, a
paused cluster is resumed (and waited on until ``available``) before deletion.
Clusters that are not paused are unaffected.

Resume and delete are separate, non-transactional AWS calls: if the task fails
after resuming but before deleting, the cluster is left running rather than
paused. The flag is therefore opt-in and documented as such, so it is only used
when leaving a paused cluster behind is the worse outcome (e.g. ephemeral
test-cluster teardown).

Generated-by: Claude Code (Opus via Claude Code) on behalf of Sean Ghaeli

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

With regards,
GitHub Actions via GitBox


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

Reply via email to