-
Notifications
You must be signed in to change notification settings - Fork 0
Open
coder/coder
#22497Description
CI Run: https://github.com/coder/coder/actions/runs/22557048431 (job: test-go-pg (ubuntu-latest))
Commit: d033487fffe82c718c2c937d58ec62dbb3551eb1 (author: blinkagent[bot])
Failure:
- Test: TestCloseDuringShutdownContextCanceledShouldRetryOnNewReplica
- Error: Condition never satisfied
- Location: coderd/chatd/chatd_test.go:1011
- Observed logs:
- "chat-processor: chat canceled during shutdown; returning to pending"
- "chat-processor: failed to acquire chat error="context canceled""
- Test expectation for pending state never became true within testutil.WaitMedium.
Root cause classification: Flaky test (timing-sensitive eventual consistency after shutdown).
Assignment analysis:
- Checked recent changes to the test file:
git log --oneline --follow coderd/chatd/chatd_test.go. - Commit 2abe55549c82d7f1bd8e0b7eb6550081bc5e67ec added TestCloseDuringShutdownContextCanceledShouldRetryOnNewReplica and its helper wiring in coderd/chatd/chatd_test.go.
- Assigning to the most recent functional owner of the test: kylecarbs.
Related issues search (coder/internal):
- "TestCloseDuringShutdownContextCanceledShouldRetryOnNewReplica"
- "CloseDuringShutdown"
- "chatd_test.go" "context canceled"
- "failed to acquire chat"
No existing issues found.
Reproduction: Not deterministic; occurs intermittently in CI during shutdown retry flow.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels