Add ability to update Meltano version from the UI
When a user is in Meltano UI, they need a way to not be using an outdating version without going to the command line to upgrade
-
@mbergeron create an endpoint that @derek-knox can leverage in the UI -
@mbergeron Create a process to detect when the user is in a version of Meltano that is older than the current release -
@derek-knox Figure out how to show the user what they'll be getting when they upgrade (this should increase their intent to click the button) -
@derek-knox Create home for a button to "Update" -
@mbergeron kill the UI for the user (so they can't interact with it while it is in in limbo)... and think through how to offer an endpoint to gracefully shut down and restart the web server (could be the same endpoint) - [-]
@derek-knox decide on simple UI to make it clear when the user should not be using Meltano (during upgrade) and also when they are all clear (e.g. disable Meltano, or show "Meltano is upgrading" page)- Due to the restart being delegated to the environment in which Meltano is running, this becomes unneeded
- [-]
@derek-knox think about what we should do in the cases where the web server doesn't restart successfully- Due to the restart being delegated to the environment in which Meltano is running, this becomes unneeded
-
@mbergeron come up with a solution for re-starting the web server (or prompting the user to do it after some period of time) -
@dmor capture a separate issue describing a future work we should do for helping with more complex migrations during the upgrade process (see comments for more info) -
@mbergeron test that the solution work properly when using a process supervisor
Edited by Melty Bot