Skip to content

Incorrect link to task detail from task instance list #38030

Description

@Pad71

Apache Airflow version

2.8.2

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Clicking the filter button on a task in the task instance list (see picture) will use an incomplete link to the task instance detail (in the grid view)
image

wrong incomplete link (an example):
https://myairflow.net/dags/DW_TST1_EXTRACT_CONTROL/grid?root=CHK_ADS_D410_FILES&execution_date=2024-02-28T18:00:00+00:00&tab=graph&dag_run_id=scheduled__2024-02-28T18:00:00+00:00

The correct link should add "&task_id=task_instance_id" (ie. &task_id=CHK_ADS_D410_FILES)) to the link's end:
https://myairflow.net/dags/DW_TST1_EXTRACT_CONTROL/grid?root=CHK_ADS_D410_FILES&execution_date=2024-02-28T18:00:00+00:00&tab=graph&dag_run_id=scheduled__2024-02-28T18:00:00+00:00&task_id=CHK_ADS_D410_FILES

What you think should happen instead?

The correct Link should point to the task detail, not just filter it and stay on the dag run detail

How to reproduce

Click the "filter" link in the task instance list

Operating System

Kubernetes on Unix platform

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions