CI Run
Commit
- SHA: ef0151601e4a282190516b2c064b3ca3c73fbd0c
- Author: Ethan
Failure
=== FAIL: coderd/x/chatd TestPromoteQueuedWhileRequiresActionMixedTools (29.80s)
chatd_test.go:9119:
Error: Received unexpected error:
context deadline exceeded
Messages: Eventually timed out
chatd_test.go:9144:
Error: Received unexpected error:
context deadline exceeded
Log context preceding the timeout:
processor: tool returned error result ... tool_error="workspace agent connector is not configured"
Error Analysis
testutil.Eventually assertions in TestPromoteQueuedWhileRequiresActionMixedTools timed out while waiting for queued message promotion state in a requires_action chat.
- The test observed tool execution errors (
workspace agent connector is not configured) during the run, and the expected promotion state was never reached before the deadline.
- No panic/OOM indicators found in the job logs. No data race warnings observed.
Root Cause Assessment
Likely flaky timing in the queued-message promotion path for mixed tool results under Windows CI. The requires_action promotion flow did not converge before the test deadline.
Assignment Analysis
Intended blame command:
git blame -L 8977,9160 coderd/x/chatd/chatd_test.go
Proxy via history (available tooling):
git log --oneline -10 --follow coderd/x/chatd/chatd_test.go
- Most recent substantive change:
6b0518d fix: state-aware queued message promotion (Mathias Fredriksson)
Assigning to @mafredri as the most recent modifier touching the promotion logic + test.
Related Issues
Searched in coder/internal:
TestPromoteQueuedWhileRequiresActionMixedTools
PromoteQueuedWhileRequiresAction
RequiresActionMixedTools
No existing issues found.
Reproduction
go test ./coderd/x/chatd -run TestPromoteQueuedWhileRequiresActionMixedTools -count=1
CI Run
test-go-pg (windows-2022)(https://github.com/coder/coder/actions/runs/25477222206/job/74753187290)Commit
Failure
Log context preceding the timeout:
Error Analysis
testutil.Eventuallyassertions inTestPromoteQueuedWhileRequiresActionMixedToolstimed out while waiting for queued message promotion state in arequires_actionchat.workspace agent connector is not configured) during the run, and the expected promotion state was never reached before the deadline.Root Cause Assessment
Likely flaky timing in the queued-message promotion path for mixed tool results under Windows CI. The
requires_actionpromotion flow did not converge before the test deadline.Assignment Analysis
Intended blame command:
git blame -L 8977,9160 coderd/x/chatd/chatd_test.goProxy via history (available tooling):
git log --oneline -10 --follow coderd/x/chatd/chatd_test.go6b0518d fix: state-aware queued message promotion(Mathias Fredriksson)Assigning to @mafredri as the most recent modifier touching the promotion logic + test.
Related Issues
Searched in
coder/internal:TestPromoteQueuedWhileRequiresActionMixedToolsPromoteQueuedWhileRequiresActionRequiresActionMixedToolsNo existing issues found.
Reproduction