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

Update .gitpod.yml for split terminal #725

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

jywarren
Copy link
Member

Testing split terminal in gitpod

@gitpod-io
Copy link

gitpod-io bot commented Sep 21, 2021

@jywarren
Copy link
Member Author

Hmm, we had been seeing this gitpod-io/gitpod#4949 in the log for the rails c command:

gp sync-await bundle }; exit bash: rustc: command not found bash: /etc/bash_completion.d/cargo: No such file or directory

@jywarren
Copy link
Member Author

or gitpod-io/gitpod#2424 ?

@jywarren
Copy link
Member Author

Probably hitting gitpod-io/gitpod#1834

if one terminal client blocks/doesn't read quickly enough, all other clients are blocked, too. This is behaviour needs to be fixed in the multiWriter that distributes the logs.
all new terminals are started with a (configurable) login shell, by default /bin/bash -i. With Gitpod's workspace-full rust setup that causes errors:

@jywarren
Copy link
Member Author

Hmm. Still getting this even in the log window shown during the prebuild:

{
gp sync-await bundle
}; exit
bash: rustc: command not found
bash: /etc/bash_completion.d/cargo: No such file or directory
gitpod /workspace/spectral-workbench $ {
> gp sync-await bundle
> }; exit

@jywarren
Copy link
Member Author

This seems stuck! ☹️

@jywarren
Copy link
Member Author

Hmm. I'm also seeing this message in plots2, although i'm not sure it's causing any problems? But if it is breaking prebuilds, we will have to roll this back.

{
gp sync-await bundle
}; exit
bash: rustc: command not found
bash: /etc/bash_completion.d/cargo: No such file or directory
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /workspace/plots2/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

mysqld will log errors to /var/log/mysql/error.log
mysqld is running as pid 1904
gitpod /workspace/plots2 $ {
> gp sync-await bundle
> }; exit

@jywarren
Copy link
Member Author

also i saw that in a prebuild on plots2, this - maybe a clue?

Connecting to workspace logs...
{
gp sync-await bundle
}; exit
bash: rustc: command not found
bash: /etc/bash_completion.d/cargo: No such file or directory
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /workspace/plots2/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

ruby-2.6.6 - #gemset created /workspace/.rvm/ruby-2.6.6
ruby-2.6.6 - #importing gemsetfile /home/gitpod/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.6.6 - #generating default wrappers................
gitpod /workspace/plots2 $ {
> gp sync-await bundle
> }; exit

@jywarren
Copy link
Member Author

Confirming that it doesn't seem to be causing trouble in plots2, although the message does appear while prebuilding. example: publiclab/plots2#10193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant