fuatcakici commented on issue #34604: URL: https://github.com/apache/airflow/issues/34604#issuecomment-1737453705
I have potentially also found another error which you may want to know. After manually setting the `simple_task` in the first DAG run to FAILED, if I manually set that whole DAG run to FAILED as well, clearing the `error_task` in the second DAG run changes the state of the previous DAG run from FAILED to SUCCESS, even though the `simple_task` remains in a FAILED state and hence so should the DAG run. You can see it below: <img width="301" alt="Screenshot 2023-09-27 at 15 47 59" src="https://github.com/apache/airflow/assets/95378780/e876714e-f651-4419-b3f3-58b7883edd24"> As expected, you can see that the `error_task` in the second DAG run succeeds which is in line with my hypothesis above; the function `update_state` only works if the DAG run is in the state FAILED. I just wanted to also add this even though it is not entirely part of the worry in hand, since I believe it is still somewhat related and hope could somehow be helpful. -- 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]
