Skip to content

[2.9.1] "Task Tries"/Attempts UI is innaccessible #40673

@Rafnel

Description

@Rafnel

Apache Airflow version

Other Airflow 2 version (please specify below)

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

2.9.1

What happened?

My team upgraded from Airflow 2.6.3 to 2.9 a few months ago and one thing I can't find anymore is the "attempts" or "tries" UI. Previously, when you opened a DAG, there was a UI available (via the top of the page, see this old screenshot from 2.6.3: https://airflow.apache.org/docs/apache-airflow/2.6.3/ui.html#grid-view ) that allowed you to see the number of tries that each task took on each dagrun. It was a line graph, I believe. This was a helpful UI because some DAGs have tens of tasks and finding a task that took multiple attempts is opaque without clicking into each task individually.

I can't find this UI anymore, although I do believe I found a button to this UI which doesn't work anymore:
Screenshot 2024-07-09 120317

This button links to /dags/DAG_NAME/tries, and when clicked, just takes you to /dags/DAG_NAME/grid, which indicates to me that the "tries" UI no longer exists.

After a bit of digging, I can't find a release notes that points to this UI being removed, although I might not be searching for the right keywords. Is this disappearance a bug? Or purposeful?

What you think should happen instead?

When you hover over the "..." on a DAG in the Airflow homepage and click "Tries", it should take you to the "Tries" UI, which shows a graph of recent dagruns and how many attempts each task took on each dagrun.

How to reproduce

  1. Run Airflow 2.9.1 UI
  2. Create example DAG
  3. Hover over the horizontal "..." on the DAGs homepage
  4. Click "Tries"
  5. Observe that this takes you to the DAG grid UI, not the "/tries" UI.

Operating System

Ubuntu 22.04.3 LTS

Versions of Apache Airflow Providers

apache-airflow-providers-common-io==1.3.0
apache-airflow-providers-common-sql==1.11.1
apache-airflow-providers-fab==1.0.2
apache-airflow-providers-ftp==3.7.0
apache-airflow-providers-http==4.10.0
apache-airflow-providers-imap==3.5.0
apache-airflow-providers-smtp==1.6.1
apache-airflow-providers-sqlite==3.7.1
apache-airflow-providers-ssh==3.10.1

Deployment

Virtualenv installation

Deployment details

Running Airflow Scheduler and UI "raw" on Ubuntu as systemd services.

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions