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

Workspace "about to" timeout prompt #11263

Closed
loujaybee opened this issue Jul 11, 2022 · 3 comments
Closed

Workspace "about to" timeout prompt #11263

loujaybee opened this issue Jul 11, 2022 · 3 comments

Comments

@loujaybee
Copy link
Member

loujaybee commented Jul 11, 2022

Context

A challenge we have with workspace timeouts is often that users are using the workspace, but are: pre-occupied with some other work on their computer, or are performing some actions that aren't necessarily detected by the timeout logic, e.g. testing an application running on a port, or using some client connected via SSH.

Whilst we continue to improve the workspace timeout logic, implementing a manual prompt which gives a user a chance to intercept a workspace shutdown could mitigate some of the user experience challenges surrounding workspace timeouts.

e.g. the Netflix "are you still watching" prompt.

Relates to:


FAQs

If workspace is going to timeout, in most cases, it means user is not in front of their computer

We can validate this by looking at analytics for how quickly users restart stopped workspaces. Some scenarios where a user might be at their computer, but where our current heart beat implementation might not work (need to test):

  1. User runs an app + tests the app directly, and is not using the Gitpod workspace, but the app hosted in it
  2. User is connecting to the workspace from some other service, e.g postman to test out APIs developed in the workspace
  3. User is running some long running process, tests, analysis, web scraping, and is leveraging multi-track workspaces.

Can we quantify somehow what we are trying to improve with these actions, and when we should stop? i.e. some alert for premature or missing timeout?

  • Would be useful
@stale
Copy link

stale bot commented Dec 3, 2022

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.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Dec 3, 2022
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Dec 20, 2022
@filiptronicek
Copy link
Member

From a quick discussion with @akosyakov:
This will be fairly easy to do if we always had only one window -> we could do most of this on the client-side, but when you introduce multiple windows (even with features like workspace sharing), it would need a lot of restructuring of our heartbeat code (i.e. move heartbeating to supervisor).

@stale
Copy link

stale bot commented Sep 17, 2023

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.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Sep 17, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants