screwdriver icon indicating copy to clipboard operation
screwdriver copied to clipboard

Explore to alternative way of load data-heavy logs in the UI

Open adong opened this issue 1 year ago • 1 comments

What happened: When developing https://github.com/screwdriver-cd/ui/pull/924, I faced an issue that UI views the log being generated, and if the log generated, say more than 5 MB, or say, 50MB, the browser will freeze.

Worthy to note: We don't really have issues when downloading or viewing the generated logs.

So the potential freeze maybe caused by the DOM manipulation which keeps appending the new logs to the end

What you expected to happen: Maybe some kind of mechanism to help loading data-heavy logs to prevent the browser freeze.

How to reproduce it: Go to https://cd.screwdriver.cd/pipelines/11109

adong avatar May 09 '23 17:05 adong