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

[local-app] heartbeating (keep workspace alive via SSH / whilst using non-browser IDE's) #4779

Closed
akosyakov opened this issue Jul 13, 2021 · 6 comments · Fixed by #7760
Closed

Comments

@akosyakov
Copy link
Member

We need to send heartbeats that user workspace does not timeout. We were considering to integrate on level of supervisor terminals, but implies that we have to integrate with supervisor all tools which capable to create terminal devices, i.e. it does not allow custom SSH servers. Instead we can integrate on system level using seccomp notify and intercept write and resize calls to terminal devices. It would also allow use cases when someone create new devices in the app under development, see for instance: https://gitpod.slack.com/archives/C01KGM9DVRC/p1625443266089900

Plan:

  • Plan A: provide hearbeat signal based on pseudo-terminal device activity, e.g. using seccomp-notify
  • Plan B: provide heartbeat signal based on supervisor terminal activity (requires IDE to integrate with supervisor)
@extrawurst
Copy link

I am connecting to my workspace via SSH and I seem to have to a) keep my browser window open and b) visit it once every 30min for the workspace not to timeout - is this issue going to fix that? or should I open a new issue for this?

@akosyakov
Copy link
Member Author

@extrawurst it is about fixing your issue

@akosyakov
Copy link
Member Author

@extrawurst Could you clarify please what for you are using SSH?

@extrawurst
Copy link

using it to connect my local vscode to my gitpod workspace (#4780)

@ebrevdo
Copy link

ebrevdo commented Aug 17, 2021

I'm also using ssh to run custom bazel commands (building an OSS project)... it takes a while to build and in the meantime the workspace times out and dies :)

(hoping this will work w/ tmux)

@fntlnz fntlnz removed their assignment Aug 31, 2021
@loujaybee loujaybee changed the title [local-app] heartbeating [local-app] heartbeating (keep workspace alive via SSH / whilst using non-browser IDE's) Oct 18, 2021
@iQQBot
Copy link
Contributor

iQQBot commented Nov 5, 2021

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

6 participants