Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

flake: TestAgent_Startup/HomeDirectory

Aperta
#1,590 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@mafredri ci sta già lavorando.

Dal 12/6/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

flake

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.

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/HomeDirectory
  • agent_test.go + Startup
  • test timed out after 20m + agent

No matching issues found.

Reproduction

go test ./agent -run TestAgent_Startup/HomeDirectory -count=1
Lingua principale
Nessun dato sulla lingua
Stelle
3
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/internal

Tutte le issue di coder/internal

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.