You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed on main, but should be reproducible on released versions. If you assign a custom role to a user and that user attempts to build a workspace then the agent will fail to establish a connection to the control plane.
You'll see messages similar to
2025-01-22 22:54:28.431 [info] connecting to coderd
2025-01-22 22:54:28.504 [warn] run exited with error ...
error= GET https://domain/api/v2/workspaceagents/me/rpc?version=2.3: unexpected status code 400: Internal error fetching workspace.
Error: unauthorized: convert input to value: subject: expand roles: get role permissions: role "template-auditors:703f72a1-76f6-4f89-9de6-8a3989693fe5" not found