deepujain commented on PR #75726:
URL: https://github.com/apache/airflow/pull/75726#issuecomment-6908938276

   I ran the same failing PythonOperator Dag with dag.test() on the base and 
this PR, using separate SQLite databases and one allowed retry. The two cases 
raised AirflowFailException and ValueError from the retry callback.
   
   Before (base of this PR): the stop request still allowed the remaining retry 
callback and a second task attempt. The replay printed "Stop request honored: 
no (attempts=2, final=failed)".
   
   After (this PR): the task failed after the first attempt and skipped the 
remaining retry callback. The replay printed "Stop request honored: yes 
(attempts=1, final=failed)". The failure callback received "RuntimeError: 
original task failure", and the ordinary ValueError still allowed a second 
attempt on both sides.
   
   ---
   Drafted-by: OpenAI Codex (no human review 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