-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
coder/coder
#21982Labels
Description
CI Failure Details
- CI Run: https://github.com/coder/coder/actions/runs/21755920171
- Failed Job: https://github.com/coder/coder/actions/runs/21755920171/job/62766061118 (test-go-pg / macos-latest)
- Branch: main
- Commit: a5bc0eb37dd2a10cea4ab60b5ad07125184b7567 (author: DevCats)
- Date: 2026-02-06 15:35:12Z
Root Cause Classification
- Type: Flaky Test (CLI test failure on macOS; failure output missing)
- Affected package: enterprise/cli
- Failing tests:
- TestRemoveOrganizationMembers/OK
- TestRemoveOrganizationMembers/UserNotExists
- TestRemoveOrganizationMembers (parent)
Error Evidence
=== FAIL: enterprise/cli TestRemoveOrganizationMembers/OK (unknown)
...
=== FAIL: enterprise/cli TestRemoveOrganizationMembers/UserNotExists (unknown)
...
=== FAIL: enterprise/cli TestRemoveOrganizationMembers (unknown)
sloghuman: failed to write entry: write /dev/ttys002: file already closed
Notes:
- The test output did not include assertion traces in this run (only the summary and the sloghuman write error above).
- The CLI requests themselves appeared to succeed (DELETE returned 204), suggesting a flaky CLI logging or I/O issue on macOS rather than API behavior.
Ownership / Assignment
Primary assignment uses test function blame per guidelines.
Relevant test lines:
- File: enterprise/cli/organizationmembers_test.go
- Function: TestRemoveOrganizationMembers (subtests "OK" and "UserNotExists") around lines ~20-80
Suggested blame commands:
grep -n "TestRemoveOrganizationMembers" enterprise/cli/organizationmembers_test.go
# -> line ~20
git blame -L 20,90 enterprise/cli/organizationmembers_test.go
Recent change context:
git log --oneline --follow enterprise/cli/organizationmembers_test.goshows commit 2c8b264d78 ("chore: remove multi-organization and custom role experiment") by Steven Masley as the most recent substantive change touching this test.
Assigning to Steven Masley (@Emyrk) for triage.
Related Issues
- flake:
TestRemoveOrganizationMembers/OK#70 (older, different failure mode: 403 from multiple orgs feature)
Reproduction
go test ./enterprise/cli -run TestRemoveOrganizationMembers -count=50
Reactions are currently unavailable