Open BT2 opened 1 month ago
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
You reported this on Airflow 2.7.2, can you re-test on the most recent version, currently 2.10.2?
This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.7.2
What happened?
I have a problem with the order of tasks after adding the branch operator. After adding it, the tasks on the ‘Grid’ view have an incorrect order, while on the ‘Graph’ they look fine and are run in the correct order. Tasks after branch operator are placed at the bottom
What you think should happen instead?
How to reproduce
from airflow.decorators import dag from pendulum import today from airflow.operators.empty import EmptyOperator from airflow.decorators import task from airflow.exceptions import AirflowSkipException from airflow.utils.state import State import random
@dag( dag_id='grid_bug',
For now it's hardcoded, maybe we will use this in a future ?
) def dynamic_generated_dag(): first_task = EmptyOperator(task_id='first_task') second_task = EmptyOperator(task_id='second_task') end_task = EmptyOperator(task_id='end_task')
dynamic_generated_dag()
Operating System
AKS
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct