coder / coder/internal

File sync sessions count as workspace activity

Open
#665 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.