coder / coder/internal

File sync sessions count as workspace activity

Abierto
#665 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
3
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza rastreando cómo las sesiones SSH de file-sync de Coder Desktop y Mutagen se cuentan como actividad del workspace y, después, inspecciona cómo el Coder agent recibe las variables de entorno de SSH. Confirma que las sesiones de file-sync inactivas ya no impiden autostop, mientras que las conexiones IDE o SSH interactivas siguen contando como actividad.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Área
backend, devops
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.