Skip to content

flake: TestInboxNotifications (watch/list) #1319

@flake-investigator

Description

@flake-investigator

CI Failure Details

CI Run Link: https://github.com/coder/coder/actions/runs/21516243469

Failed Job: test-go-race-pg

Commit Info:

  • SHA: e45635aab68197bc675d7d752d27c716d90b9b39
  • Author: Jake Howell
  • Date: 2026-01-30

Failure Signature

Job logs only include the gotestsum summary (no stack traces or assertion output present):

=== FAIL: coderd TestInboxNotification_Watch (161.41s)
=== FAIL: coderd TestInboxNotifications_List (159.53s)
DONE 13841 tests, 66 skipped, 158 failures in 449.770s

Root Cause Hypothesis

No data race warnings, panics, or OOM indicators were found in the job logs after scanning multiple sections. Given both tests ran for ~160s before failing, this looks timing-related (likely waiting on inbox notification events under the race build). Additional detail may be in gotests.xml/Datadog since the log does not include per-test failure output.

Assignment Analysis

Failing tests are in coderd/inboxnotifications_test.go:

  • TestInboxNotification_Watch (line ~33)
  • TestInboxNotifications_List (line ~367)

Recent meaningful changes to this file:

  • b39477c07a — "fix: resolve flakey inbox tests" (Danielle Maywood)
  • 82e37732ea — add format option to inbox watch endpoint (Vincent Vielle)

Assigning to @DanielleMaywood as the most recent owner of flake-related changes in these tests.

Related Issues

No duplicates found in coder/internal.
Searches: "TestInboxNotification_Watch", "TestInboxNotifications_List", "inboxnotifications_test.go"

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions