Using dotfiles to Append to ~/.bashrc Causes Workspace to Stop Immediately After Starting When VS Code Desktop Is Selected #13846
Labels
aspect: browser IDE
aspect: desktop IDE
aspect: error-handling
Issues which improve error handling when something fails in Gitpod
aspect: gitpod loading process
Related to the loading order of Gitpod processes, such as env variables, IDE, dotfiles etc
feature: dotfiles
meta: never-stale
This issue can never become stale
type: bug
Something isn't working
Bug description
When using the dotfiles feature AND attempting to add a new file into
$HOME/.bashrc.d/
OR appending to$HOME/.bashrc
AND having your IDE preference selected to VS Code Desktop, the workspace is unable to start up. The workspace seems to go through the Initializing Content step, but then stops.This video shows me trying to start a workspace with VS Code Desktop selected under Settings > Preferences:
https://www.loom.com/share/f45019e94b2a48cab4c063e2a96563a1
This video shows me trying to start a workspace with VS Code Browser selected:
https://www.loom.com/share/f2ca8c85d0d04162958ebb111e3fa95d
As you can see in the former video the workspace just stops. The later video shows the workspace coming up in my web browser.
Steps to reproduce
install.sh
with the following content:install.sh
file executable (ex.chmod +x ./install.sh
).Workspace affected
No response
Expected behavior
I would expect that the workspace start up and prompt me to open in VS Code and if it fails too tell me why it's not and instead stopping.
Example repository
You can use my dotfiles repo if you'd like - https://github.com/jimmybrancaccio/starship-dotfiles/blob/main/install.sh
This is the test repo I am using to create my workspace from - https://github.com/jimmybrancaccio/gitpod-test
Anything else?
No response
The text was updated successfully, but these errors were encountered: