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

fix(zkstack_cli): make progress bar optional in non-terminal envs #3146

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

itegulov
Copy link
Contributor

What ❔

Enables plain logging as a fallback for progress bar.

Why ❔

Spinner does not print anything when zkstack is redirected to a file, piped or is just ran in an env with no virtual terminal. Most notably this affects our CI where all spinner messages are just swallowed into nowhere.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zkstack dev fmt and zkstack dev lint.

@itegulov itegulov requested review from Deniallugo and aon October 21, 2024 22:32
@itegulov itegulov added this pull request to the merge queue Oct 23, 2024
Merged via the queue into main with commit 5092031 Oct 23, 2024
32 checks passed
@itegulov itegulov deleted the daniyar/zkstack/optional-pb branch October 23, 2024 08:57
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

Successfully merging this pull request may close these issues.

2 participants