CI Run: https://github.com/coder/coder/actions/runs/24092786705
Failed Job: test-go-pg (ubuntu-latest)
Commit: 21c08a37d7ad9e872721835284e80597120b041a (author: Jake Howell)
Failure:
=== FAIL: enterprise/coderd/x/chatd TestSubscribeRelayEstablishedMidStream (25.10s)
chatd_test.go:1516: timed out waiting for worker to start streaming
Error analysis:
- Single test failure in
enterprise/coderd/x/chatd/chatd_test.go.
- Test waits for the worker to begin streaming after the relay is established; it timed out, indicating a timing-sensitive relay/worker coordination race.
- No panic, OOM, or data race indicators observed in the job logs.
Root cause classification: Flaky test (timing-sensitive relay/stream startup).
Assignment analysis:
git blame -L 1415,1485 enterprise/coderd/x/chatd/chatd_test.go points to commit e18094825a7 ("fix: retain message_part buffer for cross-replica relay") by Kyle Carberry, which introduced TestSubscribeRelayEstablishedMidStream.
- Recent file history (
git log --oneline -10 --follow enterprise/coderd/x/chatd/chatd_test.go) also shows e180948 as the most recent substantive change touching this test.
Assignee: @kylecarbs
Related issues search (coder/internal):
- "TestSubscribeRelayEstablishedMidStream"
- "timed out waiting for worker to start streaming"
- "TestSubscribeRelay" / "chatd_test.go" / "SubscribeRelay"
- Closed issue 1430 (TestSubscribeRelayReconnectsOnDrop) is a different test/error.
Reproduction (if needed):
go test ./enterprise/coderd/x/chatd -run TestSubscribeRelayEstablishedMidStream -count=1
CI Run: https://github.com/coder/coder/actions/runs/24092786705
Failed Job: test-go-pg (ubuntu-latest)
Commit: 21c08a37d7ad9e872721835284e80597120b041a (author: Jake Howell)
Failure:
Error analysis:
enterprise/coderd/x/chatd/chatd_test.go.Root cause classification: Flaky test (timing-sensitive relay/stream startup).
Assignment analysis:
git blame -L 1415,1485 enterprise/coderd/x/chatd/chatd_test.gopoints to commit e18094825a7 ("fix: retain message_part buffer for cross-replica relay") by Kyle Carberry, which introduced TestSubscribeRelayEstablishedMidStream.git log --oneline -10 --follow enterprise/coderd/x/chatd/chatd_test.go) also shows e180948 as the most recent substantive change touching this test.Assignee: @kylecarbs
Related issues search (coder/internal):
Reproduction (if needed):