--no-wait flag on non-TTY outputs #2029
laccd-wst-services-admin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When we use acli in our Azure DevOps pipelines and use the --no-wait flag, we are getting 100K lines of waiting for process to end lines in the log due to the spinner visualization expecting a real terminal where \r/ cursor-up is used to replace lines. Each spinner frame saves a new line in the pipeline logs. I would suggest either add a -no-tty flag along with --nowait that disables any line replacing to avoid this issue. The other options are to completely remove the spinner or replace it with a . .. ... visualization where updates happen every 3 or 4 seconds to avoid hundreds of thousands of lines in the logs.
All reactions