Skip to content

Add coder restart command #2464

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

Closed
mafredri opened this issue Jun 17, 2022 · 2 comments · Fixed by #3670 or #5799
Closed

Add coder restart command #2464

mafredri opened this issue Jun 17, 2022 · 2 comments · Fixed by #3670 or #5799
Assignees
Labels
cli Area: CLI

Comments

@mafredri
Copy link
Member

When the agent loses connection, users may see the message:

The workspace agent lost connection! Wait for it to reconnect or run: coder rebuild

This command doesn't exist, and requires coder stop followed by coder start at the moment.

Should this be added and called rebuild or something else? See #1376 about renaming start/stop.

@mafredri mafredri added bug cli Area: CLI labels Jun 17, 2022
@kylecarbs
Copy link
Member

I think we prompt for starting again. Much easier short-term solution!

@mafredri
Copy link
Member Author

The message appears e.g. during coder ssh workspace, and if the agent manages to connect within a few seconds, we may still be stuck at the prompt. If the user selects yes there may be an unnecessary restart cycle.

I also think a rebuild or restart command would be useful, I've needed to start/stop relatively often during development.

kylecarbs added a commit that referenced this issue Aug 24, 2022
kylecarbs added a commit that referenced this issue Aug 24, 2022
@coder coder deleted a comment from ketang Jan 19, 2023
@kylecarbs kylecarbs reopened this Jan 19, 2023
@kylecarbs kylecarbs changed the title Missing coder rebuild command Add coder restart command Jan 19, 2023
@mafredri mafredri self-assigned this Jan 19, 2023
mafredri added a commit that referenced this issue Jan 19, 2023
mafredri added a commit that referenced this issue Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Area: CLI
Projects
None yet
2 participants