[dashboard] - restart workspace in debug mode after startup failure #16050
Labels
area/dashboard
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P1
Has a major impact to usage or development of the system.
Is your enhancement related to a problem? Please describe.
In #15983, we will introduce workspace startup debug mode, which will watch logs of the workspace pod and send them to the dashboard together with startup events. We need dashboard UI support to use this feature.
Describe the solution you'd like
After the workspace startup fails, there is now option to restart the workspace. We would like to have there second button to restart the workspace in debug mode, so the user will see all the logs from startup.
If it is technically feasible, update the route
<che-host>/dashboard/#/ide/<namespace>/<workspace>
with additional debug parameter. The parameter on che-server probably will bedebug-workspace-start=true
(see PR #15988) so it can be the same, or something similar. Doing it like this would enable other clients, like chectl (#16119), to use it. If it is technically different task and should be done outside of the scope of this issue, please create a new issue for it ❤️Don't forget to add docs to troubleshooting https://www.eclipse.org/che/docs/che-7/troubleshooting-for-che-end-users/
Describe alternatives you've considered
Make it configurable from workspace configuration (this will be probably another task anyway).
Additional context
#15983
epic: #15047
The text was updated successfully, but these errors were encountered: