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

Prevent workspaces from being kept alive when they should not #472

Open
stirby opened this issue Aug 30, 2024 · 2 comments
Open

Prevent workspaces from being kept alive when they should not #472

stirby opened this issue Aug 30, 2024 · 2 comments
Assignees

Comments

@stirby
Copy link
Collaborator

stirby commented Aug 30, 2024

Functional duplicate of coder/vscode-coder#309 for the Jetbrains extension.

When users stop their workspaces in the dashboard, an idle jetbrains gateway session may reconnect them, and start the workspace when the user is not present. This can incur unnecessary costs for administrators while devs are not active.

We should copy the behavior Asher describes here if possible.

Is there a workspace build going on? If so, wait for that build.
Is the workspace on? If not, prompt to start the workspace and depending on the response go back to 1 or quit.
Otherwise wait for the agent to be ready then connect, or exit if the agent enters some failed/off state.

@Kira-Pilot
Copy link
Member

Kira-Pilot commented Sep 19, 2024

We can do this in Gateway but not in the IDE. Would be nice to explore ways to give this notification priority as Gateway will often be running in the background - maybe with a highlight or by having Gateway pop up as the active window or something.

@Kira-Pilot
Copy link
Member

@stirby removing the P2 label basis our slack convo; please add it back if I'm incorrect in doing so.

@matifali matifali removed the bug label Oct 15, 2024
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

No branches or pull requests

4 participants