Skip to content

Grid view scaling issues #50928

@jedcunningham

Description

@jedcunningham

Apache Airflow version

3.0.1

If "Other Airflow 2 version" selected, which one?

No response

What happened?

The grid view doesn't scale well as either task count or dag version count grows.

Imagine you have 100k tasks in the dag, and 10 runs...

What you think should happen instead?

After having a brief chat with @bbovenzi and @dstandish, we need to do some sort of pagination. It's slightly more complicated when you consider the structure (and thus order) can change a between runs, and accounting for things like task groups and mapped tasks, but those should be surmountable problems.

One idea is to continue using the order from the latest dag version, then go determine the state etc of the n tasks from earlier runs, regardless of where in the older runs those tasks were.

With pagination implemented, we can do things like infinite scroll in the UI too.

How to reproduce

Create a few runs on a really large dag.

Operating System

macos

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else?

No response

Are you willing to submit 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 bugpriority:highHigh priority bug that should be patched quickly but does not require immediate new release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions