You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a workspace via a factory URL that includes a subpath (e.g. https://github.com/org/repo/tree/main/subdir), the project-clone init container ignores the devfile's checkoutFrom.revision and instead attempts to check out main/subdir as the revision. Since that's not a valid branch, it falls back to the default branch.
main branch contains PYTHON/2CPU/devfile.yaml and PYTHON/4CPU/devfile.yaml
Each devfile specifies projects[].git.checkoutFrom.revision: cloned
cloned branch is empty (single empty commit)
Steps to reproduce:
Apply the getting-started-samples ConfigMap from the repo: kubectl apply -f getting-started-samples.yaml
Open the Eclipse Che dashboard and click the "Python (2 CPU)" sample tile
Check the project-clone init container logs
Actual: project-clone logs show Could not find revision main/PYTHON/2CPU in repository, using default branch — the URL subpath is injected as the revision, overriding the devfile's checkoutFrom.revision: cloned
project-clone container log:
Processing project python-2cpu
Cloning project python-2cpu to /projects/project-clone-990217814/python-2cpu
Cloned project python-2cpu to /projects/project-clone-990217814/python-2cpu
Setting up remotes for project python-2cpu
Fetched remote origin at https://github.com/agiertli/sparse-attribute.git
Could not find revision main/PYTHON/2CPU in repository, using default branch
Activity
vinokurig commentedon Oct 29, 2026
is fixed by eclipse-che/che-server#1089