joaopamaral commented on issue #36808:
URL: https://github.com/apache/airflow/issues/36808#issuecomment-1893795127

   - [Fix airflow-scheduler exiting with code 0 on exceptions 
(#36800)](https://github.com/apache/airflow/pull/36800): 
   Confirmed that the scheduler is exiting with code 1 on exception:
   <img width="811" alt="image" 
src="https://github.com/apache/airflow/assets/7281460/bf326be0-204d-4abc-aa81-85125c3df60a";>
   
   -  [Fix Callback exception when a removed task is the last one in the task 
instance list (#36693)](https://github.com/apache/airflow/pull/36693):
   Confirmed the callback ran without any issue when a removed task is the last 
one in the task list:
   ```
   [2024-01-16, 13:55:20 UTC] {logging_mixin.py:188} INFO - Success callback 
triggered!
   [2024-01-16, 13:55:20 UTC] {logging_mixin.py:188} INFO - Task Instance: 
[<TaskInstance: example_removed_task_dag.success_task 
scheduled__2024-01-15T00:00:00+00:00 [running]>, <TaskInstance: 
example_removed_task_dag.removed_task_2 scheduled__2024-01-15T00:00:00+00:00 
[removed]>, <TaskInstance: example_removed_task_dag.removed_task 
scheduled__2024-01-15T00:00:00+00:00 [removed]>, <TaskInstance: 
example_removed_task_dag.failure_task scheduled__2024-01-15T00:00:00+00:00 
[removed]>, <TaskInstance: example_removed_task_dag.start_task 
scheduled__2024-01-15T00:00:00+00:00 [removed]>, <TaskInstance: 
example_removed_task_dag.end_task scheduled__2024-01-15T00:00:00+00:00 
[removed]>]
   ```


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