Task Group: Node order changes after collapse
See original GitHub issueApache Airflow version: 2.0.0rc1
Kubernetes version (if you are using kubernetes) (use kubectl version
):
Environment:
- Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release):
- Kernel (e.g.
uname -a
): - Install tools:
- Others:
What happened:
The order of the nodes changes when expanding and collapsing task groups:
Before:
After expanding task group and collapsing:
What you expected to happen: node order to be consistent How to reproduce it:
Create a DAG with multiple task groups. expand the top group collapse the top group observe is is now at the end.
Anything else we need to know:
happens every time.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Airflow task groups | Astronomer Documentation
Use task groups to organize tasks in the Airflow UI DAG graph view. In this guide, you'll learn how to create task groups...
Read more >3 Managing Tasks and Orders - Oracle Help Center
Right-click the Expand/Collapse button. OSM displays the: Set current visibility as default message. Click the message. The default changes and OSM displays ...
Read more >Task groups in Azure Pipelines and TFS (classic)
A task group allows you to encapsulate a sequence of tasks, already defined in a build or a release pipeline, into a single...
Read more >Concepts — Airflow Documentation
Relations between Tasks¶. Consider the following DAG with two tasks. Each task is a node in our DAG, and there is a dependency...
Read more >Folding | Advanced Concepts | yFiles for HTML Documentation
It adds the functionality of collapsing (closing) and expanding (opening) group nodes. Collapsing a group node means that its content is hidden and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@bbovenzi Can you take a look at this one when you have time please
In fact, this isn’t an issue for
TaskGroup
specifically. Even beforeTaskGroup
was introduced, simply refreshing the page can sometimes render the Graph View differently causing the nodes to shuffle around.I can understand the pain. However, this issue needs to be addressed in the dependent package Dagre. I think this is the open issue upstream: https://github.com/dagrejs/dagre/issues/189
Unfortunately it doesn’t look like they are addressing it any time soon. Hopefully someone can come up with a workaround.