Skip to content

Display execution_date in graph view task instance tooltip.#32527

Merged
bbovenzi merged 2 commits into
apache:mainfrom
tirkarthi:fix-run-graph
Jul 25, 2023
Merged

Display execution_date in graph view task instance tooltip.#32527
bbovenzi merged 2 commits into
apache:mainfrom
tirkarthi:fix-run-graph

Conversation

@tirkarthi

Copy link
Copy Markdown
Contributor

closes: #32503
related: #32503

execution_date has become a proxy since commit 944dcfb. Explicitly fetch execution_date to display it in graph view.

@boring-cyborg boring-cyborg Bot added the area:webserver Webserver related Issues label Jul 11, 2023
@tirkarthi

tirkarthi commented Jul 11, 2023

Copy link
Copy Markdown
Contributor Author

Testing in local with normal task and mapped task that displays "Run" value in the tooltip that corresponds to execution_date

Screenshot from 2023-07-11 23-01-57
Screenshot from 2023-07-11 23-01-54

@hussein-awala hussein-awala added the type:new-feature Changelog: New Features label Jul 11, 2023
@hussein-awala hussein-awala added this to the Airflow 2.7.0 milestone Jul 11, 2023
Comment thread airflow/www/utils.py
"end_date": group_end_date,
"mapped_states": mapped_states,
"try_number": get_try_count(parent_instance._try_number, parent_instance.state),
"execution_date": parent_instance.execution_date,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be logical_date ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

execution_date is the term used in the HTML template code where its referenced by graph view. Changing this to logical_date will require changes to frontend references and increase the scope of the PR.

e162074

@eladkal eladkal changed the title Fix displaying execution_date in graph view task instance tooltip. Display execution_date in graph view task instance tooltip. Jul 12, 2023
@eladkal eladkal added type:improvement Changelog: Improvements and removed type:new-feature Changelog: New Features labels Jul 12, 2023

@bbovenzi bbovenzi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Although, hopefully the whole graph view will be gone soon anyway.

@bbovenzi
bbovenzi merged commit ed689f2 into apache:main Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webserver Webserver related Issues type:improvement Changelog: Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

execution date is missing from Task Instance tooltip

4 participants