flake: TestAgent_Startup/HomeDirectory
@mafredri ya está trabajando en esto.
Desde el 12/6/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
CI Failure Details
CI Run: https://github.com/coder/coder/actions/runs/27441018780
Failed Job: https://github.com/coder/coder/actions/runs/27441018780/job/81114905940 (test-go-pg (windows-2022))
Commit: d6aa3d61ee4ad38b60d887641ff8084f4b676c2b (TJ) https://github.com/coder/coder/commit/d6aa3d61ee4ad38b60d887641ff8084f4b676c2b
Failing Test
TestAgent_Startup/HomeDirectory
File: agent/agent_test.go (around line ~2249)
Error Output (panic / timeout)
=== FAIL: agent (0.00s)
panic: test timed out after 20m0s
running tests:
TestAgent_Startup/HomeDirectory (19m57s)
Error Analysis
The agent package hit the Go test watchdog timeout on Windows. The running test list shows TestAgent_Startup/HomeDirectory stuck for ~20 minutes, indicating a hang in startup/manifest resolution or agent setup on Windows.
Root Cause Assessment
Process timeout / hang in TestAgent_Startup/HomeDirectory on Windows CI.
Data Race / OOM Checks
Searched logs for WARNING: DATA RACE, out of memory, signal: killed — none found. Failure is a Go test timeout panic.
Assignment Analysis
Intended blame command:
git blame -L 2242,2275 agent/agent_test.go
Proxy via history (available tooling):
git log --oneline -10 --follow agent/agent_test.go- Most recent substantive change touching this area:
3955df79("fix(agent): unify working directory resolution") by Mathias Fredriksson.
- Most recent substantive change touching this area:
Assigning to @mafredri as the most recent modifier of the working directory resolution + startup test area.
Related Issues
Searched coder/internal for:
TestAgent_Startup/TestAgent_Startup/HomeDirectoryagent_test.go+Startuptest timed out after 20m+agent
No matching issues found.
Reproduction
go test ./agent -run TestAgent_Startup/HomeDirectory -count=1
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 3
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de coder/internal
-
flake
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
chore: cleanup http transport debtPosiblemente ocupada @sreya la tomó hace 2 días. Abierto
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
flake: TestPubsubCluster/ClusterAuthRequiredQuizá libre de nuevo @sreya la tomó hace 53 días y no hay ningún pull request abierto. Abiertoflake