We’re going to enable refresh app awareness in snapd by default with 22.04 and because of that would like to encourage everyone interested in helping test the feature to enable it already on their systems (there is no need to have 22.04 installed - it’s enough to be running latest stable snapd or latest snapd from edge in cases of fixes) and report any problems.
To enable the feature now do the following:
snap set core experimental.refresh-app-awareness=true
For more background about the feature see [WIP] Refresh App Awareness
What you can expect from it right now:
- a desktop notification about refresh attempt getting inhibited when affected app (snap) is currently running. The refresh can be inhibited by up to 14 days.
- a desktop notification when attempting to run an app that is getting refreshed.
The feature has some limitations discussed in the thread mentioned above - most notably, a long running app (e.g. started together with the desktop session and running till reboot) may never have a window to refresh (until it runs out of the 14-days allowance for inhibiting the refresh of course); this will be addressed via future improvements.