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

Check single-to-multi root mode migration in Che-Theia #19445

Closed
azatsarynnyy opened this issue Mar 29, 2021 · 2 comments
Closed

Check single-to-multi root mode migration in Che-Theia #19445

azatsarynnyy opened this issue Mar 29, 2021 · 2 comments
Assignees
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@azatsarynnyy
Copy link
Member

Is your task related to a problem? Please describe.

ATM it's not fully clear what will be the Che-Theia behavior when the multi-root mode will be enabled for an existing workspace, after upgrading to Che 7.29.0.

Describe the solution you'd like

We need to validate the Che-Theia behavior for the following use case:

  • create a new persisted workspace with several projects where the multi-root mode is off
  • turn the multi-root mode on and restart the workspace
  • make sure the explorer shows a correct projects structure

Describe alternatives you've considered

Additional context

@azatsarynnyy azatsarynnyy added kind/task Internal things, technical debt, and to-do tasks to be performed. sprint/current severity/P1 Has a major impact to usage or development of the system. team/editors area/editor/theia Issues related to the che-theia IDE of Che labels Mar 29, 2021
@azatsarynnyy azatsarynnyy added this to the 7.29 milestone Mar 29, 2021
@azatsarynnyy
Copy link
Member Author

I started a workspace from the following Devfile:

apiVersion: 1.0.0
metadata:
  name: che-theia-all
projects:
  - name: che-theia
    source:
      location: 'https://github.com/eclipse-che/che-theia.git'
      type: git
  - name: theia
    source:
      location: 'https://github.com/eclipse-theia/theia.git'
      type: git
components:
  - id: eclipse/che-theia/latest
    type: cheEditor

Note, eclipse/che-theia/latest has the multi-root mode off, by default.

The project explorer displayed the projects' structure correctly:
image

Then, I switched to eclipse/che-theia/next (where the multi-root mode is on by default) and restarted the workspace.
Now, the project explorer is empty:
image

We need to make the multi-root mode off by default while investigating this problem.

@azatsarynnyy
Copy link
Member Author

The follow-up issue #19551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

2 participants