Skip to content

File sync sessions count as workspace activity #665

Open
@ethanndickson

Description

@ethanndickson

Coder Desktop file sync sessions communicate with the workspace over SSH, even when both sides of the file sync are idle. I realised this when my workspace hadn't autostopped for over two weeks due to a file sync session I had configured to it on my laptop.

I think it's reasonable to assume that someone using file sync will also have some other connection to their workspace (IDE, SSH) that would bump workspace activity whilst it's actually in use.
One way to fix this might be to modify Mutagen to populate an environment variable over SSH, and then update the Coder agent to not count SSH sessions with that environment variable as authentic activity.

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