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

[UI] Viewing logs on the Executions Logs tab requires page refresh #7226

Open
Tracked by #5662
anna-geller opened this issue Feb 6, 2025 · 3 comments
Open
Tracked by #5662
Assignees
Labels
area/frontend Needs frontend code changes bug Something isn't working

Comments

@anna-geller
Copy link
Member

Describe the issue

Opening an issue to investigate why this happens — often you need to refresh the page to see the latest logs, the page doesn't auto-reload to fetch new logs.

Environment

  • Kestra Version: develop
@anna-geller anna-geller added bug Something isn't working area/frontend Needs frontend code changes labels Feb 6, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Issues Feb 6, 2025
@MilosPaunovic
Copy link
Member

Do you mean here the main Logs page, on /logs URL?

@anna-geller
Copy link
Member Author

anna-geller commented Feb 7, 2025

the Execution Logs tab -- might be only an issue on Kafka/Elasticsearch backend though - both me and Ludo saw it a lot in Cloud where logs don't appear until the page is refreshed

@anna-geller anna-geller changed the title [UI] Viewing logs requires page refresh [UI] Viewing logs on the Executions Logs tab requires page refresh Feb 7, 2025
@loicmathieu
Copy link
Member

It's an issue with late arrival of logs.
We don't know when all logs will arrive, today what we do is when an execution ends, we wait 2s before closing the SSE connection, we may want to wait a little more as logs may arrives more than 2s later.

Then, I strongly think we may add a refresh toggle button when the SSE connection is ended so that user may easily refresh the logs without reloading their browser tab. When we close the SSE connection, we may also add a warning that all logs may not be present so the user may refresh to see them.

There is no way to know that all logs are present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Needs frontend code changes bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants