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

Frequent React Re-renders in Pod Logs Cause Lag and Potential Crashes #22240

Open
3 tasks done
linghaoSu opened this issue Mar 7, 2025 · 0 comments · May be fixed by #22241
Open
3 tasks done

Frequent React Re-renders in Pod Logs Cause Lag and Potential Crashes #22240

linghaoSu opened this issue Mar 7, 2025 · 0 comments · May be fixed by #22241
Labels
bug Something isn't working component:ui User interfaces bugs and enhancements

Comments

@linghaoSu
Copy link
Member

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

Currently, pod logs continuously trigger React re-renders, leading to severe performance issues, UI lag, and even potential page crashes.

To Reproduce

enable follow in pod log viewer

Expected behavior

Improve the performance of the Follow button in pod logs by preventing unnecessary re-renders and only updating when new logs are generated.

Screenshots

log-rerender.mp4

Version

v2.14.0-rc3+9014649

Paste the output from `argocd version` here.

Logs

Paste any relevant application logs here.
@linghaoSu linghaoSu added the bug Something isn't working label Mar 7, 2025
@linghaoSu linghaoSu linked a pull request Mar 7, 2025 that will close this issue
14 tasks
@linghaoSu linghaoSu added the component:ui User interfaces bugs and enhancements label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:ui User interfaces bugs and enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant