-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When starting a workspace with the same name as an existing one ask users if they wants to replace the pre-existing one #21561
Comments
the issue is really annoying and we should backport the fix in 3.2 |
Ok but we should not restart the workspace because it has the same name: it may have the same name but refer to another branch (i.e. you have just reviewed a PR) or even be a completely different git repository. How are we going to figure out if that's the same workspace or a different one? |
Can we just create a new workspace but with another name (maybe adding some suffix) |
Right but that's what I think samples are easy because we start from a I can create a distinct issues for non-samples but in general I would ask the user if he wants to restart the existing workspace or replace it with the new one. To create multiple workspace using the same devfile it's recommended to leave the |
@akurinnoy I have changed the title here because it looks that the issue is related to samples only. If that's not the case let's discuss it because the solution is not clear. |
Sync'd with Red Hat JIRA https://issues.redhat.com/browse/CRW-3640 |
sync'd to Red Hat JIRA https://issues.redhat.com/browse/CRW-3850 |
Describe the bug
Getting Started workspace fails to start if there is an existing workspace
Che version
7.50@latest
Steps to reproduce
Expected behavior
exising cpp workspace is started
Runtime
OpenShift
Screenshots
No response
Installation method
OperatorHub
Environment
Linux
Eclipse Che Logs
No response
Additional context
Note Dashboard should reopen any workspace if exists not only Getting Started
Release Notes Text
Previously, when starting a workspace with the same name of an existing one, Che would return an error and users should either manually delete the existing one or rename the new workspace. Now users are asked if they want to re-open the existing one or if they want to replace it with the new workspace.
The text was updated successfully, but these errors were encountered: