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

Getting progress bar in non-tty environment #274

Closed
AndrewRayCode opened this issue Jan 17, 2020 · 5 comments
Closed

Getting progress bar in non-tty environment #274

AndrewRayCode opened this issue Jan 17, 2020 · 5 comments

Comments

@AndrewRayCode
Copy link

Our CI system has started having this output:

sfdx force:source:deploy -u TestEnvironment --testlevel RunLocalTests -x manifest/package.xml --checkonly

Job ID | 0Af7A00000Ou3DfSAJ
�7SOURCE PROGRESS | ████████████████████████████████████████ | 0/0 Files�7SOURCE PROGRESS | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 22/978 Files�7SOURCE PROGRESS | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

This isn't a tty interface so this progress bar makes no sense, and I also don't understand why we started getting a progress bar out of nowhere.

each run is a clean install, here's the version:

sfdx-cli: Updating CLI... already on latest version: 7.42.1-e41dbeb8d9
@aheber
Copy link

aheber commented Jan 20, 2020

Agreed, should have a different behavior in non-tty. My CI system doesn't report lines until a \n is received so dancing with the \r is ignored. This means that my logs are full of progress bars but also means I have no sense of progress until the action is finished.

@clairebianchi
Copy link
Collaborator

@AndrewRayCode we will take a look at this issue.

We launched the progress bar 2 weeks ago but it should not be affecting you in this way

@gdman
Copy link

gdman commented Jan 28, 2020

FYI, I've raised a bug relating to progress bars in non-tty environments in the underlying library here: oclif/cli-ux#137. In our CI environment we don't get any kind of progress bar - just deployment started, deployment finished. We are using force:mdapi:deploy but I assume it's the same for force:source:deploy.

@clairebianchi
Copy link
Collaborator

Please see my comment in #271

@mshanemc
Copy link
Contributor

mshanemc commented Jan 6, 2021

closing because #271 is closed

@mshanemc mshanemc closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants