-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix task instance modal in gantt view #19258
Fix task instance modal in gantt view #19258
Conversation
2.2.0 removed the execution_date from the task_instance table. So the execution date won't be provided by simply calling `alchemy_to_dict`.
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
We may need a test for this, but I'm not sure how it should be implemented. |
I guess ideally the payload should be served by its own endpoint similar to the way we have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I eventually want to redo the gantt view like I'm updating the tree view in #18675
We can do a /gantt_data
endpoint then.
(cherry picked from commit aa6c951)
2.2.0 removed the execution_date from the task_instance table.
So the execution date won't be provided by simply calling
alchemy_to_dict
on the task_instance model. Subsequently this broke the links in the task instance modal on the gantt view.Closes #19252