-
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
Che UI is buggy after loading workspace with Devfile via factory #13413
Comments
cc @ashumilova |
I see this on the Browser Developer Console for the same issue:
Looks like a recent change to this file https://github.com/eclipse/che/blob/master/dashboard/src/app/navbar/recent-workspaces/recent-workspaces.html |
@maysunfaisal Do you have the recent changes? I mean this PR - #13418, whether it fixes the bug you are mentioning? On my side - I tried to reproduce the issue, but did not manage - it works. |
@ashumilova I tried it again yesterday with the I am creating the workspace via factory like My devfile contains the workspace name and my devfile looks something like:
|
@ashumilova I can also still reproduce with the following devfile:
Hosted here: https://raw.githubusercontent.com/johnmcollier/devfiles/master/devfile_test.yaml I'm on Docker Desktop with Kubernetes using |
@ashumilova I confirm that it is reproducible on |
Now scope of this issue is more clear: UD handles incorrectly workspaces with WSConfigs without environment. From devfile perspective, it means: devfile does not have any component with dockerimage/kubernetes/openshift type. Note that workspaces created with @johnmcollier @maysunfaisal If you are blocked with this issue - you can add dummy dockerimage component until this bug is not fixed. ---
specVersion: 0.0.1
name: my-plugin-env
projects:
- name: microproj
source:
type: git
location: 'https://github.com/rajivnathan/microproj.git'
- name: nodeTemplate
source:
type: git
location: 'https://github.com/microclimate-dev2ops/nodeExpressTemplate'
components:
- alias: theia-ide
type: cheEditor
id: eclipse/che-theia/next
- type: dockerimage
image: centos:centos7
command: ["tail"]
args: ["-f", "/dev/null"]
memoryLimit: 50Mi |
I am almost done with the fix, but need to wait for tests to pass :( |
Thank you, guys, for detailed hints how to reproduce the issue. |
@ashumilova I just got around to using the new Che image, all fixed for me. Thanks!!! |
Description
I have a simple Devfile referencing two projects on Github and a Theia editor of version
next
.When I load a workspace with this devfile (such as via a factory), the Che dashboard becomes very buggy. I can't select the workspace that was just loaded, nor can I interact with it.
What the sidebar looks like. It's also preventing me from loading the Theia editor via the dashboard:
What happens when I try to select a workspace:
However, despite this, the workspace loads fine and if I access the workspace IDE directly (such as with
http://che-che.10.100.41.160.nip.io/dashboard/#/ide/che/my-plugin-env_1
) I can use it just fine.Reproduction Steps
Load a workspace using my devfile I referenced above. The workspace should load successfully. Navigate back to the Che dashboard and you should see the UI bugs from the screenshots above.
OS and version:
Che latest
I've been able to reproduce on:
OKD 3.11
OpenShift 3.11
ICP 3.2.0
ICP 3.1.2
Docker Desktop
Diagnostics:
Javascript Console Logs: che_js_console_logs.txt
The text was updated successfully, but these errors were encountered: