-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Improve Gitpod timeouts for multiple clients (revise the 5 minute editor connection timeout) #10373
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
Comments
I didn't know about the 2 minutes timeout and I've hit this multiple times lately while testing the SSH stuff in gitpod-desktop extension, and it was really annoying 😄 |
Associated with: https://github.com/gitpod-io/customers/issues/57 |
If this is purely a cost-saving mechanism, we could look to modify the behavior only for certain cohorts e.g. customers on X plans, etc? |
But maybe it is just a bug in hertbeating? What was the reason for the issue? |
Can we distinguish graceful closing of a connection? We should not timeout on network issues and so on. |
researching |
I think API heartbeat should have priority over ssh heartbeat, example:
|
We discussed to add more logs/analytics to learn about timeouts and SSH closing conditions. |
Just want to note that this has been impacting our team as well - developers are confused as to why workspaces are closing well before the 30 minute timeout and this seems to be the likely culprit |
We agreed to extend the close timeout to 5mins for now: https://github.com/gitpod-io/ops/pull/2967 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Uh oh!
There was an error while loading. Please reload this page.
Currently, a workspace will initiate a 5 minute timer from close of any active editor. This current behaviour assumes too much that the user is operating a single client connection. Gitpod should be smart enough to recognise when a user is making multiple connections and not time out when a user swaps between SSH, VS Code or JetBrains with a workspace.
However, in scenarios where there are two editors open, this timeout should not be triggered. Ideally, we initiate the timer from the last active editor, to prevent breaking workflows where two editors are used. We should also check: https://github.com/gitpod-io/website/issues/2144 - to ensure the timeout logic is fully documented.
See internal link [1]
The text was updated successfully, but these errors were encountered: