Open leeederek opened 11 months ago
For context, the behavior from the backend is expected for steps that take some time like downloading images, every few seconds it will send up update on the progress info till it's done, hence the duplicated log lines. The reason the duplicated lines dont't show in the CLI is because we have logic to detect whether an instruction has "progress info/updates" and then present a spinner/loader instead of the duplicate log messages. That logic is here.
We can either change the backend behavior or make the UI output similar to the CLI output.
eg. CLI looks like this at the same step without printing duplicate lines
INFO[2023-11-15T16:20:54+03:00] Uploading and executing package 'github.com/kurtosis-tech/ethereum-package'
⣽ ████████████████████ Validating Starlark code and downloading container images - execution will begin shortly
Downloading <>/<>:stable
Downloading <>/blobscan<>indexer:master
What's your CLI version?
0.85.9
Description & steps to reproduce
Go to enclave manager, create a package via the UI, and then watch the logs. Some log lines get printed twice, specifically the image download lines
Desired behavior
Log lines are not doubled, ever
What is the severity of this bug?
Papercut; this bug is frustrating, but I have a workaround.
What area of the product does this pertain to?
Frontend: the Graphical User Interface, including the Enclave Manager