Workspace fails to start when VS Code is the editor and the git repository has no devfile #21560
Labels
area/dashboard
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
status/analyzing
An issue has been proposed and it is currently being analyzed for effort and implementation approach
Describe the bug
If a Git repository hasn't a devfile at its root and VS Code is the editor the workspace creation fails with this error:
Che version
next (development version)
Steps to reproduce
On the dogfooding instance (because VS Code is the default editor there), in the
Create Workspace
page put the URL of a Git repo that doesn't have a Devfile in theGit repo URL
(I reproduced it with https://github.com/devfile/developer-images that doesn't have a devfile yet)On any other Che instance use a factory URL using a Git repo that doesn't have a Devfile and the parameter
che-editor=che-incubator/che-code/insiders
Expected behavior
The workspace should be started using a default devfile component as mentioned in this issue and in particular here.
Runtime
OpenShift
Screenshots
No response
Installation method
OperatorHub, other (please specify in additional context)
Environment
Amazon
Eclipse Che Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: