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
workspaces_test.go:122:
Error Trace: /home/coder/coder/coderd/workspaces_test.go:122
Error: Received unexpected error:
PATCH http://localhost:34725/api/v2/workspaces/bc9c9776-f28d-4f11-8c1f-964f89d101d9: unexpected status code 400: Validation failed.
name: Validation failed for tag "username" with value: "affectionate-varahamihira0--test"
Test: TestWorkspace/Rename
Messages: workspace rename failed
Our "username" regex, which also applies to workspace names, doesn't allow two dashes in a row. That might be a bug? But, maybe we use two dashes as a special sequence in DevURLs?
Anyway, when the workspace name is too long, we trim it down, but sometimes the trimming can leave a - at the end, which we then add -test to, and validation fails.
The text was updated successfully, but these errors were encountered:
Our "username" regex, which also applies to workspace names, doesn't allow two dashes in a row. That might be a bug? But, maybe we use two dashes as a special sequence in DevURLs?
Anyway, when the workspace name is too long, we trim it down, but sometimes the trimming can leave a
-
at the end, which we then add-test
to, and validation fails.The text was updated successfully, but these errors were encountered: