You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/24 15:58:09 UTC

[GH] (airflow/migrate-emr-serverless-on-kill): Workflow run "Tests" failed!

The GitHub Actions job "Tests" on airflow.git/migrate-emr-serverless-on-kill has failed.
Run started by GitHub user riyanmohmmeed-dev (triggered by vincbeck).

Head commit for run:
cb3e801963f4e668ad0376f3775bcc8350802875 / riyanmohmmeed-dev <ri...@gmail.com>
Migrate EmrServerlessStartJobTrigger from CancelledError to on_kill()

Migrate EmrServerlessStartJobTrigger from the old asyncio.CancelledError
catch pattern to the new BaseTrigger.on_kill() hook (added via #65590).

Changes:
- Add async on_kill() method that cancels the EMR Serverless job
  only on user-initiated task kills
- Remove the CancelledError handler from run(), letting the parent
  class AwsBaseWaiterTrigger.run() handle the standard waiter flow
- Remove safe_to_cancel(), get_task_instance(), get_task_state()
  which are no longer needed (on_kill only fires on user kills)
- Clean up unused imports (asyncio, AIRFLOW_V_3_0_PLUS,
  TaskInstanceState, etc.)
- Update tests to directly verify on_kill() behavior

Closes: #65733 (EmrServerlessStartJobTrigger part)

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org