The GitHub Actions job "Tests" on airflow.git/glue-deferred-fix-clean-pr has 
failed.
Run started by GitHub user shivaam (triggered by shivaam).

Head commit for run:
e17b114783fbcafdde44eb24b6c9cc619ecbd70a / Shivam Rastogi 
<[email protected]>
Fix AwsBaseWaiterTrigger losing error details on deferred task failure

When a deferred AWS task hits a terminal failure state, async_wait()
raises AirflowException with the error details. But AwsBaseWaiterTrigger.run()
did not catch it — the exception propagated to the triggerer framework which
replaced it with a generic "Trigger failure" message. execute_complete() was
never called, so operators and on_failure_callbacks lost all error context.

Fix: catch AirflowException in run() and yield TriggerEvent with
status="error" and the full error message, routing failures through
execute_complete() where every operator already handles non-success events.

Also add "JobRun.ErrorMessage" to GlueJobCompleteTrigger.status_queries
so the actual Glue error text is included alongside JobRunState.

Affects all AWS triggers inheriting run() from the base class.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to