File sync sessions count as workspace activity
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 3
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit nachzuverfolgen, wie Coder Desktop- und Mutagen-file-sync-SSH-Sitzungen als Workspace-Aktivität gezählt werden, und untersuche dann, wie der Coder agent SSH-Umgebungsvariablen empfängt. Bestätige, dass inaktive file-sync-Sitzungen autostop nicht mehr verhindern, während IDE- oder interaktive SSH-Verbindungen weiterhin als Aktivität zählen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- backend, devops
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100