-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Apply task group sorting based on webserver config in grid structure response #49418
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
Apply task group sorting based on webserver config in grid structure response #49418
Conversation
Hi @pierrejeambrun , need your help reviewing this PR |
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.
Checking the services/ui/grid.py
we have some get_task_group_children_getter
there, which I think is supposed to do something similiar. Maybe there's something to fix there, I didn’t take a deep look yet ?
Hi @pierrejeambrun , thanks for pointing this out, I've looked into the code, and it seems like the ordering in frontend relies from |
40b697d
to
425bc61
Compare
Hi @pierrejeambrun , the changes are done. Feel free to review at your convenience. |
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.
LGTM thanks, needs rebase and conflict solving.
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.
Looks good, thanks! Agree with Pierre on rebase.
Sure, I'll rebase soon |
f0a8a77
to
aa2a9c6
Compare
One more rebase should fix the K8s tests. |
@pierrejeambrun conflict solved |
…d structure response (#49418) * Apply topological sort on task group grid * Fix task_group sorting by utilizing get_task_group_children_getter to sort based on webserver config * Adjust test expectation to sort children topologically (cherry picked from commit d833ecb) Co-authored-by: Jason <46563896+jsjasonseba@users.noreply.github.com>
…d structure response (#49418) (#50138) * Apply topological sort on task group grid * Fix task_group sorting by utilizing get_task_group_children_getter to sort based on webserver config * Adjust test expectation to sort children topologically (cherry picked from commit d833ecb) Co-authored-by: Jason <46563896+jsjasonseba@users.noreply.github.com>
…response (apache#49418) * Apply topological sort on task group grid * Fix task_group sorting by utilizing get_task_group_children_getter to sort based on webserver config * Adjust test expectation to sort children topologically
closes: #49374
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in airflow-core/newsfragments.