You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GlueJobCompleteTrigger's verbose branch still treats STOPPED as success, disagreeing with the waiter and the operator #71490
GlueJobOperator's handling of a Glue job run ending in STOPPED (e.g. cancelled manually from the AWS console, or by this operator's own on_kill) is inconsistent across code paths -- three different answers exist for the same state today:
The synchronous path was made to agree with the deferrable non-verbose path's waiter as part of #71211 (closing a "self-inflicted stop silently reported as success" gap). The deferrable verbose path was not touched and still disagrees with both -- it's a separate, pre-existing bug in the trigger's custom polling loop, not something #71211 introduced.
Fix direction: make the verbose branch of GlueJobCompleteTrigger.run() treat STOPPED as a failure, matching the waiter used by the non-verbose branch and the operator's own synchronous handling.
changed the title [-]GlueJobCompleteTrigger: verbose branch still treats STOPPED as success, disagreeing with the waiter and the operator[/-][+]GlueJobCompleteTrigger's verbose branch still treats STOPPED as success, disagreeing with the waiter and the operator[/+]on Aug 12, 2026
In GlueJobCompleteTrigger.run()'s verbose polling loop, stop bundling STOPPED with SUCCEEDED — treat it as a failure, matching the job_complete waiter's explicit failure acceptor and GlueJobOperator.poll_until_complete's JOB_RUN_SUCCESS_STATES = ("SUCCEEDED",) from Replace resume_glue_job_on_retry with durable execution for GlueJobOperator #71211.
Add/adjust unit tests for the trigger covering the STOPPED state in verbose mode so all three paths agree.
In GlueJobCompleteTrigger.run()'s verbose polling loop, stop bundling STOPPED with SUCCEEDED — treat it as a failure, matching the job_complete waiter's explicit failure acceptor and GlueJobOperator.poll_until_complete's JOB_RUN_SUCCESS_STATES = ("SUCCEEDED",) from Replace resume_glue_job_on_retry with durable execution for GlueJobOperator #71211.
Add/adjust unit tests for the trigger covering the STOPPED state in verbose mode so all three paths agree.
Activity
[-]GlueJobCompleteTrigger: verbose branch still treats STOPPED as success, disagreeing with the waiter and the operator[/-][+]GlueJobCompleteTrigger's verbose branch still treats STOPPED as success, disagreeing with the waiter and the operator[/+]sanket801036 commentedon Aug 13, 2026
Hi @amoghrajesh, I'd like to take this one.
Plan:
GlueJobCompleteTrigger.run()'s verbose polling loop, stop bundlingSTOPPEDwithSUCCEEDED— treat it as a failure, matching thejob_completewaiter's explicitfailureacceptor andGlueJobOperator.poll_until_complete'sJOB_RUN_SUCCESS_STATES = ("SUCCEEDED",)from Replaceresume_glue_job_on_retrywith durable execution forGlueJobOperator#71211.STOPPEDstate in verbose mode so all three paths agree.Could you assign this to me? Thanks!
henry3260 commentedon Aug 13, 2026
Hi @sanket801036! According to our policy, there’s no need to be assigned you can just raise a PR directly :)
FYI: https://github.com/apache/airflow/blob/main/contributing-docs/18_contribution_workflow.rst