Skip to content

Order tasks topologically in Grid view #55899

@shahar1

Description

@shahar1

Description

I've noticed that in Airflow 3, the tasks in the grid view might not be sorted topologically.
There is a small complexity in resolving it due to the Dag versioning, i.e., according to which version the tasks should be ordered, as it could change between versions. For starters, we could assume the latest version - and later maybe customize it according to a specfic version, similar as we do in the graph view.
It should be easier to resolve after merging #52286 (#53216), when we have the version queries ready in the grid view.

Use case/motivation

Assuming the following graph view:
Image

Its current grid view:
Image

but it would make more sense that the order in the latter would be:
get_nums -> process_number [] -> log_num.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions