sgoel2be24-cyber commented on issue #73658:
URL: https://github.com/apache/airflow/issues/73658#issuecomment-5817215636

   Verified #73323 against the PyPI-installed 
`apache-airflow-providers-amazon==9.37.0rc1` with Airflow 3.3.2 and Python 
3.12.13.
   
   I drove `EmrServerlessDeleteApplicationOperator` through its full deferral 
lifecycle, resuming each deferral with a success event as the triggerer would. 
The EMR Serverless client was mocked.
   
   - `deferrable=True`: stop → `delete_stopped_application` → 
`DeleteApplication` called once → `EmrServerlessDeleteApplicationTrigger` → 
done.
   - `deferrable=True, force_stop=True`: cancel jobs → stop → delete, with 
`DeleteApplication` called once.
   - A stop-trigger error event fails the task without calling 
`DeleteApplication`.
   - Regressions: `deferrable=False` still deletes, and 
`EmrServerlessStopApplicationOperator` still resumes at `execute_complete` 
without deleting.
   
   For comparison, on 9.36.0 the deferrable runs finish with zero 
`DeleteApplication` calls while logging "deleted successfully", which is the 
#72123 bug. On the RC, #73323 is working as expected.
   
   ---
   Drafted-by: Claude Code (Opus 5); reviewed by @sgoel2be24-cyber before 
posting
   


-- 
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