flake: TestAgent_Startup/HomeDirectory
@mafredri đang làm issue này rồi.
Từ ngày 12/6/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 3
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của coder/internal
-
flake
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
chore: cleanup http transport debtCó thể đã có người làm @sreya đã nhận 18 ngày trước. Đang mở
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
flake: TestPubsubCluster/ClusterAuthRequiredCó thể làm lại được @sreya đã nhận 68 ngày trước và không có pull request nào đang mở. Đang mởflake
-
flake: TestSnapshotChanged_MultipleConfigFiles (multiple variants)Có thể làm lại được @Shelnutt2 đã nhận 88 ngày trước và không có pull request nào đang mở. Đang mở