Thanks all for your comments thus far. There appears to be a requirement to better understand what happens to different types of data after an uninstallation. The current state is:
- Some data (such as Forge Storage, KVS, SQL) will enter a ‘soft delete’ state after uninstallation. This data can be recovered by the customer within a 30 day period through an Atlassian customer service process. We are aiming to move this to a self service admin flow in Connected Apps in the future
- Other data (such as data from remotes or configuration) is not taken care of by the Forge platform. Such data can be deleted by partners following a preUninstall trigger.
We understand the limitations of a 60sec limit between an uninstall trigger and the actual uninstallation may not give you sufficient time to run your clean up operation, depending on the app. Unfortunately as mentioned in one of the threads above the uninstallation process is part of a more complex backend workflow that must succeed in a timely manner. The 60sec window is therefore a hard requirement.
Follow up items:
- persist app logs of uninstalled apps for a period of time after uninstallation process is concluded
- investigate how to run more platform driven post uninstallation clean up operations to reduce the burden on partners