Skip to content
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

[regression]Failed to run the "vscode-xml" plugin because of absence of the "redhat.vscode-commons" dependency #20094

Closed
18 tasks
Ohrimenko1988 opened this issue Jul 7, 2021 · 5 comments
Assignees
Labels
area/plugins 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.
Milestone

Comments

@Ohrimenko1988
Copy link
Contributor

Describe the bug

Failed to run the "vscode-xml" plugin because of absence of the "redhat.vscode-commons" dependency

Che version

  • [ x ] latest
  • nightly
  • other: please specify

Steps to reproduce

  • Create workspace using next devfile:
apiVersion: 1.0.0
metadata:
  name: xml-plugin-test
projects:
  - name: nodejs-web-app
    source:
      location: 'https://github.com/che-samples/web-nodejs-sample.git'
      branch: che-qe-tests
      type: git
components:
  - id: redhat/vscode-xml/latest
    type: chePlugin

  • Go inside created workspace
  • Open the "hello.xml" file
  • Pay attention to the displayed notifications with errors (see attachments)

Expected behavior

The "vscode-xml" plugin activated and ready to work

Observed behavior

Activation of the "vscode-xml" plugin has been failed.

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • [ x ] minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Screenshot from 2021-07-07 15-02-39

Screenshot from 2021-07-07 15-03-14

Installation method

  • [ x ] chectl
chectl server:deploy \
  --k8spodreadytimeout=600000 \
  --k8spodwaittimeout=600000 \
  --k8spoddownloadimagetimeout=600000 \
  --listr-renderer=verbose \
  --platform=minikube \
  --chenamespace=iokhrime-che \
  --telemetry=off
  • OperatorHub
  • I don't know

Environment

  • [ x ] my computer
    • Windows
    • [ x ] Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: please specify

Eclipse Che Logs

Additional context

@Ohrimenko1988 Ohrimenko1988 added the kind/bug Outline of a bug - must adhere to the bug report template. label Jul 7, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jul 7, 2021
@Ohrimenko1988 Ohrimenko1988 added severity/P2 Has a minor but important impact to the usage or development of the system. team/plugins labels Jul 7, 2021
@Ohrimenko1988
Copy link
Contributor Author

Looks like related to the #19361

@svor
Copy link
Contributor

svor commented Jul 7, 2021

Probably need to update vscode-xml to 0.17.0 where the dependency to vscode-commons was removed redhat-developer/vscode-xml#503

@sleshchenko sleshchenko added area/plugins severity/P1 Has a major impact to usage or development of the system. and removed severity/P2 Has a minor but important impact to the usage or development of the system. status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jul 12, 2021
@apupier apupier self-assigned this Jul 22, 2021
@apupier apupier added this to the 7.34 milestone Jul 22, 2021
@apupier apupier changed the title Failed to run the "vscode-xml" plugin because of absence of the "redhat.vscode-commons" dependency [regression]Failed to run the "vscode-xml" plugin because of absence of the "redhat.vscode-commons" dependency Jul 22, 2021
@apupier apupier removed their assignment Jul 22, 2021
@apupier apupier removed this from the 7.34 milestone Jul 22, 2021
@apupier
Copy link
Contributor

apupier commented Jul 22, 2021

using 0.17.0 might cause troubles because it requires vscode-languageclient 7.0.0 (compared to 0.16.1 which requires 5.2.1). It means that it requires VS Code API 1.52.0 which is not yet supported. Even if it is not what is mentioned in the vscode-xml package.json

@apupier
Copy link
Contributor

apupier commented Jul 23, 2021

Where si played this test https://github.com/eclipse/che/blob/main/tests/e2e/tests/plugins/VscodeXmlPlugin.spec.ts ? Any ideas why it has not failed the build?

@svor
Copy link
Contributor

svor commented Jul 23, 2021

Where si played this test https://github.com/eclipse/che/blob/main/tests/e2e/tests/plugins/VscodeXmlPlugin.spec.ts ? Any ideas why it has not failed the build?

@Ohrimenko1988 ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins 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.
Projects
None yet
Development

No branches or pull requests

6 participants