Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
review
  • Loading branch information
ethanndickson committed Aug 5, 2025
commit b5a1cd6a670d5d59c45f36b2d40a8c8472ea9b9f
4 changes: 3 additions & 1 deletion codersdk/workspacesdk/dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ var permanentErrorStatuses = []int{
http.StatusBadRequest, // returned if API mismatch
http.StatusNotFound, // returned if user doesn't have permission or agent doesn't exist
http.StatusInternalServerError, // returned if database is not reachable,
http.StatusUnauthorized, // returned if user is not authenticated
http.StatusForbidden, // returned if user is not authorized
// StatusUnauthorized is only a permanent error if the error is not due to
// an invalid resume token. See `checkResumeTokenFailure`.
http.StatusUnauthorized,
}

type WebsocketDialer struct {
Expand Down
Loading