Log-tab under grid view is automatically re-fetching completed logs every 3 sec. #26912
Closed
1 of 2 tasks
Labels
affected_version:2.4
Issues Reported for 2.4
area:UI
Related to UI/UX. For Frontend Developers.
kind:bug
This is a clearly a bug
Milestone
Apache Airflow version
2.4.1
What happened
The new inline log-tab under grid view is fantastic.
What's not so great though, is that it is automatically reloading the logs on the
/api/v1/dags/.../dagRuns/.../taskInstances/.../logs/1
api endpoint every 3 seconds. Same interval as the reload of the grid status it seems.This:
This happens even if the TaskLogReader has set
metadata["end_of_log"] = True
What you think should happen instead
Logs should not automatically be reloaded if
end_of_log=True
For logs which are not at end, some other slower reload or more incremental query/streaming is preferred.
How to reproduce
No response
Operating System
Debian GNU/Linux 11 (bullseye)
Versions of Apache Airflow Providers
apache-airflow-providers-celery==3.0.0
apache-airflow-providers-cncf-kubernetes==4.4.0
apache-airflow-providers-common-sql==1.1.0
apache-airflow-providers-docker==3.2.0
apache-airflow-providers-ftp==3.1.0
apache-airflow-providers-http==4.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-postgres==5.2.0
apache-airflow-providers-sqlite==3.1.0
Deployment
Other Docker-based deployment
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: