-
Notifications
You must be signed in to change notification settings - Fork 324
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
Add commit bundle support #2688
Conversation
let c = newClientId 0x3ae58155 | ||
usr <- flip Qualified (Domain "example.com") <$> (Id <$> UUID.nextRandom) | ||
pure (userClientQid usr c) | ||
void . liftIO $ spawn (cli qcid tmp ["init", qcid]) Nothing |
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.
Since #2678 was merged, I think we can use that instead, 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.
Unfortunately not, because these changes live in the galley
pacakge, not in wire-api
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.
Should we extract those into their own internal test lib so we can use them across the codebase? @pcapriotti ?
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.
I'm not to keen on doing this. It's not that much code, anyway, and the unit test setup is much simpler, since we only need to extract one particular message, and not keep track of the state of several clients.
c51e32f
to
140ed67
Compare
140ed67
to
dd81dc2
Compare
27edc9a
to
7f17c1f
Compare
The conflict status code 409 should be used for errors that are caused by race conditions, such as in cases where the client has an out-of-date view on the state of the backend.
7f17c1f
to
965d9fb
Compare
Checklist
changelog.d
charts/nginz/values.yaml
deploy/services-demo/conf/nginz/nginx.conf