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

Always emit trailing zero in human-readable download progress #16950

Closed

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Dec 7, 2022

The human-readable download progress (e.g. "8.2 MiB") typically changes rapidly and, especially in the common "MiB" range, is very "jumpy" if the trailing digit is only shown if it's non-zero.

@fmeum fmeum requested a review from a team as a code owner December 7, 2022 17:39
@fmeum
Copy link
Collaborator Author

fmeum commented Dec 7, 2022

@bazel-io flag

@bazel-io bazel-io added the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Dec 7, 2022
@coeuvre coeuvre added the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Dec 7, 2022
@fmeum fmeum force-pushed the improve-download-progress-format branch from 1bbd2d0 to 93b9a02 Compare December 7, 2022 17:59
The human-readable download progress (e.g. "8.2 MiB") typically changes
rapidly and, especially in the common "MiB" range, is very "jumpy" if
the trailing digit is only shown if it's non-zero.
@fmeum fmeum force-pushed the improve-download-progress-format branch from 93b9a02 to 8b824c0 Compare December 7, 2022 18:10
@fmeum
Copy link
Collaborator Author

fmeum commented Dec 7, 2022

@coeuvre Sorry, forgot to update the tests. They are fixed now.

@sgowroji sgowroji added the team-Remote-Exec Issues and PRs for the Execution (Remote) team label Dec 8, 2022
@copybara-service copybara-service bot closed this in 66b58ee Dec 8, 2022
@fmeum fmeum deleted the improve-download-progress-format branch December 8, 2022 11:59
@sgowroji sgowroji removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Dec 8, 2022
@meteorcloudy
Copy link
Member

@bazel-io fork 6.1.0

@bazel-io bazel-io removed the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Dec 14, 2022
ShreeM01 added a commit that referenced this pull request Jan 23, 2023
The human-readable download progress (e.g. "8.2 MiB") typically changes rapidly and, especially in the common "MiB" range, is very "jumpy" if the trailing digit is only shown if it's non-zero.

Closes #16950.

PiperOrigin-RevId: 493849764
Change-Id: I115923d572b35e304280499746d28a24df83c3f3

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants