Skip to content

Scheduled Shutdown Should Not Shutdown If There Are Active SSH Connections #3191

Closed as not planned

Description

@Mainstay-Noah-Huppert

I was working on my Coder workspace instance which is scheduled to shut down at 5:00 PM. Right as 5:00 PM came by my editor froze up and my SSH terminal closed its connection.

In the future I will give myself an extra hour in the schedule to prevent this. But I feel like if I have established an SSH connection via the Coder CLI and it is still open the instance should not shut down.

Activity

  1. Mainstay-Noah-Huppert commented on Jul 25, 2022

    @Mainstay-Noah-Huppert
    ContributorAuthor

    Coder server v0.7.12

  2. Mainstay-Noah-Huppert commented on Jul 25, 2022

    @Mainstay-Noah-Huppert
    ContributorAuthor

    image

  3. bpmct commented on Jul 25, 2022

    @bpmct
    Member

    We're considering a different model for autostop which stops the workspace after n hours of inactivity, or keeps a workspace alive, despite a schedule being present: #2995. What do you think of this?

  4. Mainstay-Noah-Huppert commented on Jul 25, 2022

    @Mainstay-Noah-Huppert
    ContributorAuthor

    That could be good. I do like the schedule so that my workspace doesn't shut down during lunch or during a meeting heavy day. Mainly because there are some development tasks (👀 webpack) that take a few minutes to start up with a big app. So having the workspace up and the tasks already running saves time. Additionally having the scheduled start at 9:00 AM is nice because I know that by the time I start dev work after standup all those tasks will be running and good to go.

    For my particular use case I think being able to configure only having keep alive functionality and not inacitvity shutdown would be nice.

  5. ammario commented on Jul 26, 2022

    @ammario
    Member

    @Mainstay-Noah-Huppert thank you for the feedback. Let's move the discussion here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions