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

Serialisation of client capabilities #3904

Merged
merged 6 commits into from
Feb 28, 2024
Merged

Conversation

pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Feb 27, 2024

Fix an oddity in the serialisation of capabilities in the Client structure.

This PR replaces #3873 and simplifies the implementation. No new types are added, and the difference in serialisation is obtained using the Versioned wrapper, which we are already using for versioned changes in serialisation.

The change in the internal API between brig and galley is not backward compatible, so this can cause temporary failures during upgrades. The invariant that brig's clients are a superset of galley's clients will be maintained.

https://wearezeta.atlassian.net/browse/WPB-6400

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines
  • Document the change in the "API changes" page

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Feb 27, 2024
@pcapriotti pcapriotti marked this pull request as ready for review February 27, 2024 08:39
@pcapriotti pcapriotti merged commit 5fa42b5 into develop Feb 28, 2024
8 checks passed
@pcapriotti pcapriotti deleted the pcapriotti/capabilities branch February 28, 2024 08:25
pcapriotti added a commit that referenced this pull request Feb 28, 2024
@echoes-hq echoes-hq bot added the echoes: unplanned Any work item that isn’t part of the product or technical roadmap. label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: unplanned Any work item that isn’t part of the product or technical roadmap. 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.

3 participants