atul-astronomer opened a new issue, #48670:
URL: https://github.com/apache/airflow/issues/48670

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Grid view is not visible once user clears previous version dagrun
   
   
![Image](https://github.com/user-attachments/assets/85741723-63c0-46d3-a19c-d547246fa7ee)
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   1. Create a dagrun for below dag code. This would be v1
   
   ```python
   from datetime import datetime
   
   from airflow.providers.standard.operators.bash import BashOperator
   from airflow.sdk import DAG
   
   dag = DAG(
       'test_api_dag',
       start_date=datetime(2025, 3, 1, 3, 28, 0),
       schedule='@daily',
       is_paused_upon_creation=False
   )
   
   hello_task = BashOperator(
       task_id='test_task_hello',
       bash_command='echo "Hello World from Airflow!"',
       do_xcom_push = True,
       dag=dag,
   )
   
   bye_task = BashOperator(
       task_id='test_task_bye',
       bash_command='echo "Bye World from Airflow!"',
       do_xcom_push = True,
       dag=dag,
   )
   
   hello_task >> bye_task
   ``` 
   2. Remove 'bye_task' and create another dagrun, this would be v2
   
   ```python
   from datetime import datetime
   
   from airflow.providers.standard.operators.bash import BashOperator
   from airflow.sdk import DAG
   
   dag = DAG(
       'test_api_dag',
       start_date=datetime(2025, 3, 1, 3, 28, 0),
       schedule='@daily',
       is_paused_upon_creation=False
   )
   
   hello_task = BashOperator(
       task_id='test_task_hello',
       bash_command='echo "Hello World from Airflow!"',
       do_xcom_push = True,
       dag=dag,
   )
   
   hello_task
   ``` 
   3. Clear the first dagrun, notice the dagrun is succeeding but grid view is 
not visible anymore.
   
   ### 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?
   
   - [ ] 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]

Reply via email to