Details
-
Type:
Epic
-
Status: Done
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Epic Name:Show Artifact file (.mender) size
-
Epic Total Estimate:10
-
DoD:Empty show more show less
Description
In GUI, in the artifacts view if you expand the information there is a "Size" attribute visible. See attachment.
That value of the displayed attribute is the decompressed size of the artifact content, which is not the size of the actual file that will be transferred to the device (compressed), which is a more interesting size to know in my opinion.
In this specific case the .mender file is 25 MB (compressed and amount of data that will be sent from server to device), which is a huge difference compared to what is displayed (218 MB) and users might think that 218 MB is what is actually sent..
Acceptance criteria
- It is possible to query the size of an uploaded Artifact in the Mender server APIs
- The UI displays this as "Artifact total size"