GitHub user m-fariz-a created a discussion: Inconsistent last_dag_run_state in 
web ui in Airflow 3

Previously, I am using Airflow 2.10. After upgrading to Airflow 3, I figured 
that the stat summary for `last_dag_run_state` is not correct. I am not really 
sure why this is happen, but upgrading to latest airflow 3 didn't solve the 
problem. 

https://github.com/user-attachments/assets/ab31da58-cd16-4eba-a041-edecf907de8b

I checked airflow metadata and found that there were 3 dag failed `today`, but 
only one that has not been rerun successfully. 

<img width="1387" height="291" alt="image" 
src="https://github.com/user-attachments/assets/4cb5c937-7f78-4d31-b9da-e7b9ea677d34";
 />

That's not the same for success state.  At the current screen capture (video 
and image), the dag queued status came from a dag that was running with 
`max_active_runs=1` (it has multiple queue trigger run).

Is this a bug or just me misunderstanding the purpose of last_dag_run_state in 
Airflow UI?

GitHub link: https://github.com/apache/airflow/discussions/55409

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to