As Homey Pro user (Owner) I want to have an option to roll an App update back to the previously installed version just by going to the App settings and select rollback.
Why:
A new (test) update release for a Homey App can have 1000’s or even many more installs rolling out to Homey Pro’s that have Auto Update ON by default. A buggy Release can have impact in a large group of Homey Consumers.
Even if it is a Test release, it can happen that the normal release is a couple of versions behind missing support for new devices preventing users to Fix it with installing (downgrading) to a regular version.
Both Community developers, 3rd Party official’s as Athom Developers have proven to release once in a while a version with unintentionally serious bugs bricking (partially) the Homey’s automation for many users.
Currently Community members are teachting users to CLI install older versions that have to be pulled from Github (if Available). This also breaks the Auto-Update on that App after successful CLI installation until the user updates to the App Store version again.
Request:
As the title says:
Previous Installed Version App rollback (Last Known Good / Version N-1)
On (automatic) update the Previous installed App (and possibly App Settings) on Homey should be preserved for rollback.
Working out:
In App Settings a Homey Owner should be able to roll back to that previous version by selecting [RollBack Last Update] and it should also prevent updates to that latest version and/or fe for a set timeframe.
- Preventing Auto-Update to the rolled back update should prevent a second same issue. (Blacklist the last update on that Homey instance)
- Preventing Auto-Updates for fe 7 days prevents the user from being part of multiple updates that could follow from the Developer/publisher to fix the issue’s.
A Timeline notification could inform the user about this. - If a New (Automatic) update comes it should not overwrite the Rollback version options that is less than 7 days old. (preventing multiple broken updates in short time (Developers publishing 8 versions in one day) to overwrite the Last Good version .)
- Updates pushed from the Homey App Store should update the (running) app, that user-action just creates a Previous App Version if not available of older than 7 days.
This option should give users a better option than disabling Auto-Update on every App (and missing manny good break-fixing Update releases) and keeping Auto-Update on.
A Rollback should also rollback the App settings from the saved Previous Version. (For App compatibility)
This makes impact of broken updates less for Homey Pro Users as they can easily roll back an update is it breaks the App functionality.
This needs updates op Homey Pro Firmware (Both Local Platforms) and the Frontend (Mobile App and/of WebApp).
Risk:
- App Updates breaking Device configurations probably will will be broken after App Rollback. But Re-pairing should than work.
- A Restore from Homey Cloud backup doesn’t install the Previous version making App-Rollback unavailable.
- Growth of the used Storage Space - Twice All Apps can consume some extra space, Compression of data and/or automatic cleanup by making Rollback only 7 -14 days available after it will auto-remove can be an option to keep Storage impact minimal.
- Impact on Developer Tools / App Install
I welcome specific all Community Developers, Official Developers (I know fe these active here: @Automate_Asia, @drenso , @Tibber_DE ) to comment on technical possibility or risks that I missed above when updating Apps and making a Rollback by users available.
I hope some positive feedback from Developers,
maybe we can then present this FR to Athom.
Other suggestions to fix the issue for affected users if Developers push accidently a breaking (buggy) update are also welcome.