CI Failure Details
CI Run: https://github.com/coder/coder/actions/runs/24848334727
Failed Job: https://github.com/coder/coder/actions/runs/24848334727/job/72744223912 (test-go-pg-17)
Commit: dbcc654d289f2dd2ed68ba737e635e1291224433 (Michael Suchacz)
Date: 2026-04-23
Failing Test
TestExploreChatSendMessageCannotMutateMCPSnapshot in coderd/x/chatd/chatd_test.go (around line 1079).
Error Output
=== FAIL: coderd/x/chatd TestExploreChatSendMessageCannotMutateMCPSnapshot (25.17s)
chatd_test.go:1235:
Error: Received unexpected error:
context deadline exceeded
Messages: Eventually timed out
chatd_test.go:1239:
Error: Received unexpected error:
context deadline exceeded
Messages: Eventually timed out
chatd_test.go:1245:
Error: "1" is not greater than or equal to "2"
Error Analysis
The test waits for a follow-up Explore child request after sending a new message. The testutil.Eventually assertions timed out and the expected additional request count was not observed, causing the final count assertion to fail.
No data race warnings, panics, or OOM indicators were observed in the job logs.
Root Cause Assessment
Likely flaky timing in Explore child chat processing or request recording. The follow-up request was not observed before the deadline in this run.
Assignment Analysis
git log --oneline -10 --follow coderd/x/chatd/chatd_test.go shows the most recent meaningful change as:
dbcc654d feat: snapshot explore subagent tool entitlements (Michael Suchacz)
Assigning to @ibetitsmike as the most recent modifier of the failing test area. (Line-level blame not available in current tooling.)
Related Issues
No matching open/closed issues found for this test.
Reproduction
go test ./coderd/x/chatd -run TestExploreChatSendMessageCannotMutateMCPSnapshot -count=1
CI Failure Details
CI Run: https://github.com/coder/coder/actions/runs/24848334727
Failed Job: https://github.com/coder/coder/actions/runs/24848334727/job/72744223912 (test-go-pg-17)
Commit: dbcc654d289f2dd2ed68ba737e635e1291224433 (Michael Suchacz)
Date: 2026-04-23
Failing Test
TestExploreChatSendMessageCannotMutateMCPSnapshotincoderd/x/chatd/chatd_test.go(around line 1079).Error Output
Error Analysis
The test waits for a follow-up Explore child request after sending a new message. The
testutil.Eventuallyassertions timed out and the expected additional request count was not observed, causing the final count assertion to fail.No data race warnings, panics, or OOM indicators were observed in the job logs.
Root Cause Assessment
Likely flaky timing in Explore child chat processing or request recording. The follow-up request was not observed before the deadline in this run.
Assignment Analysis
git log --oneline -10 --follow coderd/x/chatd/chatd_test.goshows the most recent meaningful change as:Assigning to @ibetitsmike as the most recent modifier of the failing test area. (Line-level blame not available in current tooling.)
Related Issues
No matching open/closed issues found for this test.
Reproduction