-
Bug
-
Resolution: Fixed
-
Trivial
-
None
-
pipeline-stage-view-plugin 1.0
The display of artifact sizes in the stage view popover for artifacts larger than 1024000 bytes is inconsistent with that of the "last successful artifacts" view. Artifacts appear to have become larger when they haven't.
For example, I have a 7366340-byte artifact which is displayed as 7.18MB in the stage view, and correctly displayed as 7.03MB elsewhere.
This is due to the following code in ui/src/main/js/util/formatters.js:
var KB = 1024; var MB = KB * 1000; var GB = MB * 1000; var TB = GB * 1000;