Closed turtle0x1 closed 2 years ago
Yikes, this harder than I expected.
Migrate
is a copy (without clearing volatile.*
) followed by delete
, If you dont wait for the completion you just delete the instance before its deleted.
On the CLI the current tab will block when starting a migration, this should be our response in this event aswell.
If you want to migrate multiple instances at once its not really possible because the modal locks until the previous migration completes.
Its safe to refresh the page / close the browser while it runs so this lock isn't needed.
This change assumes the node server is always available but we do this alot now with event callbacks updating the UI so I dont think that assumption really matters.