Skip to content

flake: TestRolePermissions (windows timeout) #1355

@flake-investigator

Description

@flake-investigator

CI Run: https://github.com/coder/coder/actions/runs/21974897464 (job: test-go-pg (windows-2022))
Commit: 2cc8cc59faf16c82d6abb58114023915c1d13483 (chore: tell claude to use react-query) by ケイラ
Failure time: 2026-02-13 04:59:52Z

Panic evidence:

panic: test timed out after 10m0s
	running tests:
		TestRolePermissions (10m0s)
		TestRolePermissions/Licenses (9m59s)

... goroutine stack ...
TestRolePermissions -> authCache.Authorize (coderd/rbac/authz.go:749)

Root cause classification: Process crash (panic from test timeout / hang in TestRolePermissions on Windows).
Race/Panic/OOM evidence: panic above; no data race or OOM indicators found.

Assignment analysis:

  • git log --oneline -10 --follow coderd/rbac/roles_test.go
    • af0e171 feat(coderd/agentapi): support terraform-defined subagent ids (Danielle Maywood)
  • git log --oneline -10 --follow coderd/rbac/authz.go
    • 7dfa33b feat: add boundary usage tracking database schema and tracker skeleton (Zach)
      Timeout occurs within TestRolePermissions and stack shows authCache.Authorize; assignment is ambiguous, but the most recent meaningful changes to the test file were in af0e171, so assigning to DanielleMaywood.

Related issues: none found (searched TestRolePermissions timeout, rbac TestRolePermissions, panic timed out).

Reproduction: not known; intermittent on Windows CI.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions