Closed
Description
Bug description
I'm running into an issue where starting a prebuild with the "New Workspace (with this prebuild)" button is not checking out the branch. Looking at the code, this is intentional:
gitpod/components/server/ee/src/workspace/workspace-factory.ts
Lines 375 to 385 in 4c6b224
This makes sense, except that I'm using the prebuild for the latest commit on this branch. Would it be possible to checkout the branch in this case?
Steps to reproduce
- Push new commit to branch w/ prebuilds enabled
- Navigate to Prebuilds tab in the project
- Select latest prebuild and start a new workspace
Workspace affected
No response
Expected behavior
Opening a prebuild for the latest commit on a branch should checkout the branch.
Example repository
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done