qfile-agent: fix CLI progress display unit mismatch#509
qfile-agent: fix CLI progress display unit mismatch#509marmarek merged 2 commits intoQubesOS:mainfrom
Conversation
qubes-fs-tree-check outputs the total estimated size in bytes, not KB.
Fix the display bug by renaming the env variable that's used to pass
this number (in the qvm-copy wrapper script) to $FILECOPY_TOTAL_BYTES,
and then making qfile-agent convert from bytes to KB display units.
$ truncate -s 10K foo
$ qvm-copy foo # before:
sent 10/10240 KB
$ qvm-copy foo # after:
sent 10/10 KB
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #509 +/- ##
=======================================
Coverage 70.57% 70.57%
=======================================
Files 3 3
Lines 469 469
=======================================
Hits 331 331
Misses 138 138 ☔ View full report in Codecov by Sentry. |
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024070414-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024062115-4.3&flavor=update
Failed tests13 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/103633#dependencies 4 fixed
Unstable testsDetails
|
See commit message