You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/12/06 12:53:35 UTC
[GitHub] [airflow] hterik opened a new issue, #28155: Links to dag graph some times display incorrect dagrun
hterik opened a new issue, #28155:
URL: https://github.com/apache/airflow/issues/28155
### Apache Airflow version
2.5.0
### What happened
Open url `dags/gate/graph?dag_run_id=8256-8-1670328803&execution_date=2022-12-06T12%3A13%3A23.174592+00%3A00`
The graph is displaying a completely different dagrun.

If you are not careful to review all the content, you might continue looking at the wrong results, or worse cancel a run with Mark failed.
I got the link from one of our users, so not 100% sure if it was the original url. I believe there could be something wrong with the url-encoding of the last `+` character. In any case, if there are any inconsistencies in the URL parameters vs the found dagruns, it should not display another dagrun, rather redirect to grid-view or error message.
### What you think should happen instead
* dag_run_id should be only required parameter, or have precedence over execution_date
* Provided dag_run_id should always be the same run-id that is displayed in graph
* Inconsistencies in any parameters should display error or redirect to grid view.
### How to reproduce
_No response_
### Operating System
Ubuntu 22.04
### Versions of Apache Airflow Providers
_No response_
### Deployment
Other Docker-based deployment
### 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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] bbovenzi commented on issue #28155: Links to dag graph some times display incorrect dagrun
Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #28155:
URL: https://github.com/apache/airflow/issues/28155#issuecomment-1339517283
Where are you clicking the link to the graph view?
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #28155: Links to dag graph some times display incorrect dagrun
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #28155: Links to dag graph some times display incorrect dagrun
URL: https://github.com/apache/airflow/issues/28155
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] hterik commented on issue #28155: Links to dag graph some times display incorrect dagrun
Posted by GitBox <gi...@apache.org>.
hterik commented on issue #28155:
URL: https://github.com/apache/airflow/issues/28155#issuecomment-1339648588
I got the link in a chat message from one of our users, he claims it was from airflow, but can not be sure if it was fat-fingered during the paste into the chat.
Regardless if the url is from a correct source or not, i still think there should be some validation to not present any arbitrary dagrun, if there is an attempt to select a `dag_run_id` via querystrg.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] hterik commented on issue #28155: Links to dag graph some times display incorrect dagrun
Posted by GitBox <gi...@apache.org>.
hterik commented on issue #28155:
URL: https://github.com/apache/airflow/issues/28155#issuecomment-1381580541
The same problem appears even when clicking links from within Airflows own UI, for example on links in the **Run id** column on **taskinstance/list/?_flt_3_pool=default_pool&_flt_3_state=queued**, instead of opening the clicked Runid, it shows some other random run.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org