You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "cbonvillain (via GitHub)" <gi...@apache.org> on 2026/03/09 15:51:52 UTC
[I] UI: wrong url on dynamic task group instance from the grid view [airflow]
cbonvillain opened a new issue, #63197:
URL: https://github.com/apache/airflow/issues/63197
### Apache Airflow version
3.1.7
### If "Other Airflow 3 version" selected, which one?
_No response_
### What happened?
Hello,
I noticed that for some of my dags using a dynamic task group, when I click on task instance detail of the task group, I get a 404 error.invalidUrl.
When I click on the button from the grid view I am redirected to an url like this:
```
https://<base_url>/dags/<dag_name>/runs/<run_id>/tasks/group/<group_id>/mapped
```
And I get this:
<img width="257" height="280" alt="Image" src="https://github.com/user-attachments/assets/e8e7307a-e531-4b9c-9937-5f53f45ea532" />
I noticed that, if I removed the **mapped** part of the url, I get the correct page.
This occurs only on grid view, if I click on the task group from the graph view, I am redirected directly to the correct url
```
https://<base_url>/dags/<dag_name>/runs/<run_id>/tasks/group/<group_id>
```
Regards,
Camille
### What you think should happen instead?
The url from the grid view should be the same as the url from the graph view
### How to reproduce
On each dynamic task group (I didn't check on normal task group) for all dags, this happen.
### Operating System
macos 26.2 (25C56)
### Versions of Apache Airflow Providers
_No response_
### Deployment
Google Cloud Composer
### Deployment details
I noticed this behavior on both google composer on gcp and local version.
### 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
Re: [I] UI: wrong url on dynamic task group instance from the grid view [airflow]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #63197:
URL: https://github.com/apache/airflow/issues/63197#issuecomment-4024785803
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.
--
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
Re: [I] UI: wrong url on dynamic task group instance from the grid view [airflow]
Posted by "Subham-KRLX (via GitHub)" <gi...@apache.org>.
Subham-KRLX commented on issue #63197:
URL: https://github.com/apache/airflow/issues/63197#issuecomment-4025254624
The root cause is in buildTaskInstanceUrl the isMapped condition appends /mapped unconditionally including for task groups where no such route exists the graph view already handles this correctly. Will raise a PR with the fix shortly.
--
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
Re: [I] UI: wrong url on dynamic task group instance from the grid view [airflow]
Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil closed issue #63197: UI: wrong url on dynamic task group instance from the grid view
URL: https://github.com/apache/airflow/issues/63197
--
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
Re: [I] UI: wrong url on dynamic task group instance from the grid view [airflow]
Posted by "Subham-KRLX (via GitHub)" <gi...@apache.org>.
Subham-KRLX commented on issue #63197:
URL: https://github.com/apache/airflow/issues/63197#issuecomment-4025204927
The root cause is in [buildTaskInstanceUrl](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html) — the [isMapped](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html) condition appends /mapped unconditionally, including for task groups where no such route exists. The graph view already handles this correctly. Will raise a PR with the fix shortly.
--
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