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 init/wait logs overwritten with "no artifact logs are available" after pod deleted #13894

Open
tooptoop4 opened this issue Nov 12, 2024 · 1 comment
Labels
type/feature Feature request

Comments

@tooptoop4
Copy link
Contributor

you run any workflow, click on the logs button in the ui, select init container, it shows those logs, but then once pod dies the logs are no longer visible and "no artifact logs are available" error appears. i think the react ui could be made to not overwrite the log display if you already had it open (i understand anyone clicking the links for the first time after pod died, should still see the error)

pseudocode:
before fetching next set of logs, preserve current logs in memory
if next set of logs is unavailable then display what is in memory

@tooptoop4 tooptoop4 added the type/feature Feature request label Nov 12, 2024
@shuangkun
Copy link
Member

Is it too resource-intensive to store it in memory? Can we fetch the log of init/wait from the server and display it in the UI? We currently achieve this by taking logs from cloud provider log systems, such as Alibaba Cloud SLS, when a pod has been deleted, and displaying them on the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants