Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airflow auto-refresh on UI #39209

Open
2 tasks done
Elik09 opened this issue Apr 23, 2024 · 2 comments
Open
2 tasks done

Airflow auto-refresh on UI #39209

Elik09 opened this issue Apr 23, 2024 · 2 comments
Labels
area:UI Related to UI/UX. For Frontend Developers. kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet

Comments

@Elik09
Copy link

Elik09 commented Apr 23, 2024

Description

The auto refresh feature on the airflow DAGS page in the web UI does not work when a new, dynamically created, DAG has been added to the system.

Use case/motivation

When there is a new DAG added to the system, the auto refresh slider that handles task status updates should also refresh the list of currently active/present DAGS.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Elik09 Elik09 added kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet labels Apr 23, 2024
Copy link

boring-cyborg bot commented Apr 23, 2024

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@jscheffl
Copy link
Contributor

I believe this is a kind of known limitation or you could also say optimiztation. The auto refresh only refreshes the counters on status of DAGs which are active. Not only new DAGs are not refreshed, also other details of existing DAGs if DAG code is changed (e.g. schedule) stays static.
You could classify this as a shortcoming but the initial load is also more expensive on the DB to select the data together. In regards of performance I am not sure if a constant full refresh is a good idea.

Would you consider to contribute an extension to enable a full refresh as user option?

@jscheffl jscheffl added the area:UI Related to UI/UX. For Frontend Developers. label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet
Projects
None yet
Development

No branches or pull requests

2 participants