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

Long real-time logs in Dashboard happen to crash #4955

Open
rangoo94 opened this issue Jan 29, 2024 · 0 comments
Open

Long real-time logs in Dashboard happen to crash #4955

rangoo94 opened this issue Jan 29, 2024 · 0 comments
Labels
bug 🐛 Something is not working as should be linear Created by Linear-GitHub Sync service:dashboard 🎡 Testkube Web Dashboard

Comments

@rangoo94
Copy link
Member

Describe the bug

When there are plenty of real-time logs, the Dashboard is becoming slower and may crash at some point.

To Reproduce

  1. Run a test that will log a lot of data all the time
  2. Open it in the Dashboard
  3. See the lags

Expected behavior

It should not crash, and it should be smooth.

Additional context

  • Each time the content has changes, the Console component is recalculating all the data
  • Instead, it should take LogProcessor instead of string as a prop, and we should append the log produced here instead of recalculating everything for the whole output each time there is a new log line streamed
@rangoo94 rangoo94 added bug 🐛 Something is not working as should be service:dashboard 🎡 Testkube Web Dashboard linear Created by Linear-GitHub Sync labels Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something is not working as should be linear Created by Linear-GitHub Sync service:dashboard 🎡 Testkube Web Dashboard
Projects
None yet
Development

No branches or pull requests

1 participant