Skip to content

execution date is missing from Task Instance tooltip #32503

Description

@renzepost

Apache Airflow version

main (development)

What happened

It seems this commit has made the task instance execution date disappear from the task instance tooltip completely:
image
Note the missing Run: <execution date> between Task_id and Run_id.
I think there's a problem with the task instance execution date, because it's always undefined. In an older version of Airflow (2.4.3), I can see that the tooltip always shows the current datetime instead of the actual execution date, which is what the author of the commit identified in the first place I think.

What you think should happen instead

The tooltip should properly show the task instance's execution date, not the current datetime (or nothing). There's a deeper problem here that causes ti.execution_date to be undefined.

How to reproduce

Run the main branch of Airflow, with a simple DAG that finishes a run successfully. Go to the Graph view of a DAG and hover over any completed task with the mouse.

Operating System

Ubuntu 22.04

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

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

Type

No type

Fields

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