-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
CI Run
- https://github.com/coder/coder/actions/runs/23128549445
- Job:
test-go-pg (windows-2022)(run attempt 1)
Commit
- coder/coder@9c2f217
- Author: dependabot[bot]
Failure
Error Trace: C:/actions-runner/coder/coder/coderd/chats_test.go:3820
Error: Not equal:
expected: 1
actual : 0
Test: TestChatCostSummary_UnpricedMessages
Notes
- Only the Windows test-go-pg job failed; macOS passed in the same run.
- No
WARNING: DATA RACE, panic, or OOM indicators found in the logs.
Root Cause Assessment
Likely a flaky test in chat cost summary counting for unpriced messages on Windows/PG. The unpriced message count intermittently returns 0 instead of 1.
Assignment Analysis
I can’t run git blame directly here, so I used recent file history as a proxy:
git log --oneline -10 --follow coderd/chats_test.go- Most recent relevant change:
cbb3841e("test(chats): verify cost summaries survive model deletion") by Michael Suchacz, which modified chat cost summary tests.
Assigning to the most recent non-trivial modifier of the failing test area.
Suggested Repro
go test ./coderd -run TestChatCostSummary_UnpricedMessages -count=1on Windows with Postgres
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels