Skip to content

Only autorefresh active dags on home page #23949

@bbovenzi

Description

@bbovenzi

Description

In #22900, we added auto-refresh for the home page. Right now, we pass all dag_ids to the last_dagruns, dag_stats and task_stats endpoints. During auto-refresh, we should only request info for dags that are not paused.

On page load, we still want to check all three endpoints for all dags in view. But for subsequent auto-refresh requests we should only check active dags.

See here for where the homepage auto-refresh lives.

Use case/motivation

Smaller requests should make a faster home page.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.contributors-workshopIssues that are good for first-time contributor's workshopgood first issuekind:featureFeature Requests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions