-
Notifications
You must be signed in to change notification settings - Fork 887
feat: expose Everyone group through UI #9117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7ad3520
to
2c7b98d
Compare
PR title should be about exposing everyone group through the UI right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even ported the tests, nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good stuff
func ReadModifyUpdate(db Store, f func(tx Store) error, | ||
) error { | ||
var err error | ||
for retries := 0; retries < maxRetries; retries++ { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious about the decision to not use retry logic and spin. Is there a thundering herd risk?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inspired by this function, I added Jitter
to our retry package: https://pkg.go.dev/github.com/coder/retry#Retrier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly I just copied this from v1. In the interest of getting this PR merged I'd like to leave it as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure thing, didn't know that
Frontend Behavior Changes:
name
anddisplay
inGroup Settings
page when group isEveryone
.Group
page when group isEveryone
.Group
page when group isEveryone
.Backend Behavior Changes;
Everyone
group.GET /groups
endpoint now returns theEveryone
group.name
,display_name
in backend forEveryone
. Allows updatingquota_allowance
andavatar_url
(why not)fixes #6518