Is there a setting or switch that needs to be enabled in order for the delta sizes to be shown at the end of a balena push to the cloud? I noticed that it sometimes shows delta sizes and sometimes it doesn’t. The application is for an ASUS TinkerBoard and I’m using the latest versions of the CLI and OS and Delta Updates are enabled in the Fleet Configuration. Any pointers would be greatly appreciated.
Hi. Does it show it generates deltas the times when it does not show delta sizes?
Hmm, I do not know. What does it say if it generates deltas (what message should I look for)? Also, if it doesn’t generate deltas, how can I change it to generate deltas?
Do you mean that only occasionally there is output concerning delta size, or that there used to be such output and now there is no such output?
Typically, the delta sizes are displayed as a separate column that is part of the service table.
There used to be a column that shows the delta size but recently this column is not shown anymore for subsequent pushes.
Great, thank you for that. I suspect this issue might be related to some recently deployed changes in our builder – as a sanity check, do you have any rough estimate when you first saw that column disappear?
Last time I saw the delta column was 2-3 days ago, and yesterday it disappeared (if my recollection is correct). But I was also pushing new builds to new apps, so that might confuse the issue a bit.
Awesome, thanks for that added context. We’re discussing this issue internally and will keep you updated!
Hello, what CLI version are you using?
It is 12.18.0.
Just tried with 12.21.0 and no delta size. Here is the output:
[Info] Building on arm03
[Info] Pulling previous images for caching purposes…
[Success] Successfully pulled cache images
[Info] Uploading images
[Success] Successfully uploaded images
[Info] Built on arm03
[Success] Release successfully created!
[Info] Release: 02c1ae5a46f927e796e1dcce282255c5 (id: 1536066)
[Info] │ Service │ Image Size │ Build Time │
[Info] │ networking │ 483.68 MB │ 6 seconds │
[Info] │ dashboard │ 805.02 MB │ 28 seconds │
[Info] │ receiver │ 137.29 MB │ 8 seconds │
[Info] │ watchdog │ 197.12 MB │ 6 seconds │
[Info] │ folderwatch │ 137.30 MB │ 5 seconds │
[Info] │ powermgmt │ 137.29 MB │ 5 seconds │
[Info] Build finished in 2 minutes, 37 seconds
In addition to my previous comment, I can now also confirm that the delta size is indeed sometimes shown. However, for most pushes I have done, it is not shown.
Hi, thanks for the additional feedback. we are looking into this
Do you have deltas enabled? Is any of your devices online? Logs above show that deltas were skipped – it’d say something along the lines of “Generating image deltas” otherwise.
Deltas are enabled but it is possible that none of the devices are online. Is it necessary for at least one device to be online?
Do you have deltas enabled on the application level, or just per device (you can see it in fleet configuration variable and device configuration variable respectively)?
Hi Maik, I just confirmed that indeed deltas will only be generated at build time if at least 1 device is online at the time of the build. I will raise this to the product team to see if there is a strong reason to not always generate the delta even if the devices are all offline, I can’t think of a very good reason not to do it always.
It’s enabled in the fleet configuration.
Yeah, from what I understand the build time deltas currently ignore the fleet wide config and evaluate the devices in the fleet that are online, this is done so that it because the builder will generate 2 deltas. #1 the delta between the previous version and the one that was just built and #2 the delta between the current build and the most “popular” release running on online devices. I’ll chat to the team to see if there is a way we can do something intelligent when all devices on the fleet are offline.