question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Task Group: Node order changes after collapse

See original GitHub issue

Apache 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: image

After expanding task group and collapsing: image

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:open
  • Created 3 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
kaxilcommented, Jun 22, 2021

@bbovenzi Can you take a look at this one when you have time please

1reaction
yuqian90commented, Dec 14, 2020

@turbaszek Yeah, there is nothing wrong with the functionality. It’s just a tad annoying when things move around.

In fact, this isn’t an issue for TaskGroup specifically. Even before TaskGroup 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found