Skip to content

[che-code] When using clone path project are not added in the worktree #23909

Description

@batleforc

Describe the bug

In Vscode, if you create a devfile using the clone path , the project does not appear inside of the vscode worktree and can't be found in the .code-workspace.

Che version

7.120@latest

Steps to reproduce

  1. Create a workspace with this repo https://github.com/batleforc/weebo-che-project choosing vscode has the ide.
  2. See that jb-plugin and jb-ide does not exist

Expected behavior

For those project to exist in the worktree.
The culprit seems to be https://github.com/che-incubator/che-code/blob/main/launcher/src/code-workspace.ts?rgh-link-date=2026-07-06T16%3A57%3A46.000Z#L156 it does not take into account the clone path if it exist.

Runtime

Kubernetes (vanilla)

Screenshots

No response

Installation method

other (please specify in additional context), chectl/latest, OperatorHub

Environment

Linux

Eclipse Che Logs

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/editor/vscodeIssues related to the Code OSS editor of Chekind/bugOutline of a bug - must adhere to the bug report template.severity/P2Has a minor but important impact to the usage or development of the system.team/CThis team is responsible for the the IDEs and Extensions

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions