-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Airflow DAG graph is not drawing the run_id passed as argument #30602
Comments
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. |
I can't reproduce on 2.5.3 🤔 can you share the webserver log when you refresh the page? |
Hi Hussein, Sure. To be able to reproduce it, it is important to access a RunId that is not included in combobox of the latest 25: In this new example, we are trying to access the run id ES_2023-04-10T09:00:03.594297, however this one CL_2023-04-14T13:00:11.808718 is really appearing. This are the webserver logs at that time: |
I'm facing the same issue with Airflow 2.5.3. |
This issue has been automatically marked as stale because it has been open for 30 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author. |
Hi, this is still happening in 2.5.3, we should keep it open. Thx. |
We're facing the same issue. I upgraded from 2.5.1 to 2.5.3 earlier this week. I think the problem was introduced in 2.5.2, at least I still saw it when I downgraded our acceptance environment to that version. After clicking around a bit we found the following: In the If you click on the dag name in the
In the
It seems that the date selector for the execution date is not filled correctly if you also provide the run_id, and then it defaults to now. Then it tries to look up your run_id, which only succeeds if your run is in the table (so that will be if it in the 25 most recent runs). You can see in the screenshot @fbmatilla provided that the execution_date from the URL does not match the UI. So I would describe the issue as "DAG graph view does not use execution_date from URL correctly if dag_run is also provided". The |
Thank you. If I test it locally with that version it works for me again too. We will do the actual upgrade in the next few weeks, but I see no reason why it should not work there. |
There is a bug of version 2.5.x, please increase the value of ”default_dag_run_display_number“ in the airflow.cfg file. Its default value is 25, which means it will only return the most recent 25 run_ids belonging to the same dag. If the run_id you are looking for happened earlier, you will not be able to find it. |
Our most used DAG ran close to 90,000 times in the last 30 days, so it is not really feasible for us to rely on increasing the nr of dag runs. We will just upgrade to the new version. |
Similar problem present in 2.7.1 #34723 |
Hi, confirmed, this is happening again in version 2.7.2, can we open this bug again, please? Thanks. |
Why do you want to reopen it @fbmatilla since this is apparently duplicate of #34723 as @hterik noticed ? Or is it different? Can you take a close look and explain? |
Absolutely right. Sorry, I did not see that. Thanks @potiuk. |
Apache Airflow version
2.5.3
What happened
Through the Web Interface: If we look for a specific DAG run id (before the last 25 runs) and we try to access the graph:
A the details of a different RUNID are really appearing:
Looks like the issue is related to the fact that the RUNID passed as argument is not in the combobox of the default selected runs:
What you think should happen instead
The execution details of the run id passed as argument should be shown.
How to reproduce
Just follow the steps described in the "What happened" section.
Operating System
Ubuntu 20.04.5
Versions of Apache Airflow Providers
apache-airflow-providers-amazon==7.3.0
apache-airflow-providers-celery==3.1.0
apache-airflow-providers-cncf-kubernetes==5.2.2
apache-airflow-providers-common-sql==1.3.4
apache-airflow-providers-databricks==4.0.0
apache-airflow-providers-docker==3.5.1
apache-airflow-providers-elasticsearch==4.4.0
apache-airflow-providers-ftp==3.3.1
apache-airflow-providers-google==8.11.0
apache-airflow-providers-grpc==3.1.0
apache-airflow-providers-hashicorp==3.3.0
apache-airflow-providers-http==4.2.0
apache-airflow-providers-imap==3.1.1
apache-airflow-providers-microsoft-azure==5.2.1
apache-airflow-providers-microsoft-mssql==3.3.2
apache-airflow-providers-mysql==4.0.2
apache-airflow-providers-odbc==3.2.1
apache-airflow-providers-postgres==5.4.0
apache-airflow-providers-redis==3.1.0
apache-airflow-providers-sendgrid==3.1.0
apache-airflow-providers-sftp==4.2.4
apache-airflow-providers-slack==7.2.0
apache-airflow-providers-snowflake==4.0.4
apache-airflow-providers-sqlite==3.3.1
apache-airflow-providers-ssh==3.5.0
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: