Skip to content
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

Merged
merged 18 commits into from
Sep 19, 2022
Merged

Add commit bundle support #2688

merged 18 commits into from
Sep 19, 2022

Conversation

smatting
Copy link
Contributor

@smatting smatting commented Sep 14, 2022

  • wire-api: Add types and test (wip)
  • Add endpoint in galley

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines
  • Update nginz config in helm: charts/nginz/values.yaml
  • Update nginz config in the demo: deploy/services-demo/conf/nginz/nginx.conf

@smatting smatting temporarily deployed to cachix September 14, 2022 10:22 Inactive
@smatting smatting temporarily deployed to cachix September 14, 2022 10:22 Inactive
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Sep 14, 2022
@smatting smatting temporarily deployed to cachix September 14, 2022 10:46 Inactive
@smatting smatting temporarily deployed to cachix September 14, 2022 10:46 Inactive
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
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

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 ?

Copy link
Contributor

@pcapriotti pcapriotti Sep 15, 2022

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.

@pcapriotti pcapriotti force-pushed the FS-922-post-commit-bundle branch from c51e32f to 140ed67 Compare September 15, 2022 11:45
@pcapriotti pcapriotti temporarily deployed to cachix September 15, 2022 11:46 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 15, 2022 11:46 Inactive
@pcapriotti pcapriotti force-pushed the FS-922-post-commit-bundle branch from 140ed67 to dd81dc2 Compare September 15, 2022 14:36
@pcapriotti pcapriotti temporarily deployed to cachix September 15, 2022 14:36 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 15, 2022 14:36 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 15, 2022 15:08 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 15, 2022 15:08 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 16, 2022 08:14 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 16, 2022 08:14 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 16, 2022 08:41 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 16, 2022 08:41 Inactive
@pcapriotti pcapriotti marked this pull request as ready for review September 16, 2022 08:52
@pcapriotti pcapriotti temporarily deployed to cachix September 16, 2022 08:52 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 16, 2022 08:52 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 16, 2022 11:50 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 16, 2022 11:50 Inactive
@pcapriotti pcapriotti force-pushed the FS-922-post-commit-bundle branch from 27edc9a to 7f17c1f Compare September 19, 2022 08:39
@pcapriotti pcapriotti force-pushed the FS-922-post-commit-bundle branch from 7f17c1f to 965d9fb Compare September 19, 2022 09:11
@pcapriotti pcapriotti temporarily deployed to cachix September 19, 2022 09:11 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix September 19, 2022 09:11 Inactive
@pcapriotti pcapriotti merged commit 3db4338 into develop Sep 19, 2022
@pcapriotti pcapriotti deleted the FS-922-post-commit-bundle branch September 19, 2022 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants