-
Sub-task
-
Resolution: Done
-
Critical
-
3.11.0.GA
-
None
-
False
-
None
-
False
-
-
As a user, I should be able to stop my DevWorkspace after disconnecting the JetBrains Client from the server. It would allow to use Gateway app without the need to open the Dashboard just to stop the DevWorkspace.
It can be implemented as a "Stop" button.
If it's possible, it would be nice to stop the remote Workspace automatically after closing JetBrains Client.
Ideally, we could introduce a plugin setting for configuring what to do with the running DevWorkspace after closing the connection:
- keep it running
- ask the user
- stop automatically
There's ThinClient's `onTerminated` lifecycle event that might be useful
https://github.com/redhat-developer/devspaces-gateway-plugin/blob/cb399429ee9bc3fb3f9d53d02626aa661b61e919/src/main/kotlin/com/github/devspaces/gateway/view/DevSpacesWizardView.kt#L94