DonHaul opened a new issue, #70696: URL: https://github.com/apache/airflow/issues/70696
### Under which category would you file this issue? Airflow Core ### Apache Airflow version 3.3.0 ### What happened and how to reproduce it? I have a dag that always run task `start` and then it randomly runs eitther `task_1` or `task_2` (see dag below) I then restart the same dag run 4 times. I see this for `start` as expected <img width="1205" height="588" alt="Image" src="https://github.com/user-attachments/assets/6a883c26-ee76-444d-b218-9eb4af72f706" /> If i click around on the other tasks a few times i.e. click task_1 then 2 then 1 then click back on start, i now see: where i see try number 2 4 times? <img width="1410" height="402" alt="Image" src="https://github.com/user-attachments/assets/d583b69d-36a7-4b33-96cf-50bc75b71a43" /> Refreshing the page makes it go back to normal. if i then want to see `task_1` i see only 3 tries even though i should see 4, and two of them are task 2 repeated? <img width="1054" height="392" alt="Image" src="https://github.com/user-attachments/assets/5a78bde2-b081-4cbd-be1c-abc6f37dc352" /> if i then want to see `task_2` i see only 3 tries instead of 4 and include try number 0, which shouldn't even exist <img width="1069" height="426" alt="Image" src="https://github.com/user-attachments/assets/c4470cfb-0f93-496d-b9e8-10b35fb1dfa2" /> example dag: ``` import random from airflow.sdk import dag, task @dag def example_dag(): @task.branch def start(): return f"task_{random.randint(1, 2)}" @task def task_1(): print("Task 1 executed") @task def task_2(): print("Task 2 executed") @task def end(): print("End task executed") start() >> [task_1(), task_2()] >> end() example_dag() ``` ### What you think should happen instead? All 3 tasks should display 4 tries. with no repeat try numbers, and no try number 0. ### Operating System docker ### Deployment Docker-Compose ### Apache Airflow Provider(s) _No response_ ### Versions of Apache Airflow Providers _No response_ ### Official Helm Chart version Not Applicable ### Kubernetes Version _No response_ ### Helm Chart configuration _No response_ ### Docker Image customizations _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
