rjgoyln opened a new pull request, #71495:
URL: https://github.com/apache/airflow/pull/71495

   ## Summary
   
   A Glue job run ending in `STOPPED` — cancelled from the AWS console, or by 
the operator's own `on_kill` — fails the task on the non-verbose deferrable 
path, where the `job_complete` waiter classifies it as a failure, but succeeded 
on the verbose path, whose hand-rolled polling loop bucketed `STOPPED` with 
`SUCCEEDED`. Downstream tasks then ran on output the run never produced. The 
verbose branch now treats it as a failure.
   
   ## Scope
   
   The synchronous path still succeeds on `STOPPED` via 
`GlueJobHook._handle_state`; #71211 is reworking that path and is left to it. 
`GlueJobSensor` defers to the same trigger, so its deferrable verbose mode 
changes too, toward its own `FAILURE_STATES`, which already lists `STOPPED`.
   
   closes: #71490
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5)
   
   Generated-by: Claude Code (Opus 5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to