Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
What you think should happen instead?
No response
How to reproduce
For the below dag, create a dagrun and clear dagrun, notice gantt view for 2 task tries:
import datetime
from airflow.providers.standard.operators.bash import BashOperator
from airflow.providers.standard.operators.python import PythonOperator
from airflow.sdk import DAG
def fetch_xcom(**kwargs):
return kwargs["ti"].xcom_pull(key="choice")
def push_xcom(**kwargs):
kwargs["ti"].xcom_push(key="choice", value="foo")
dag = DAG(
'test_api_dag',
start_date=datetime.datetime(2025, 8,25),
schedule='@daily',
is_paused_upon_creation=False,
catchup=True,
)
hello_task = BashOperator(
task_id="hello",
bash_command="echo hello",
dag=dag
)
bye_task = BashOperator(
task_id="bye",
bash_command="echo bye",
dag=dag
)
hello_task >> bye_task
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
What you think should happen instead?
No response
How to reproduce
For the below dag, create a dagrun and clear dagrun, notice gantt view for 2 task tries:
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct