Skip to content

Conversation

@pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Apr 30, 2025

This adds a new endpoint /mls/reset-conversation which can be used to restore an MLS group that ended up in an invalid state for any reason. After resetting, the conversation has the same users, but the corresponding MLS group gets a new group ID and resets to epoch 0 with no clients.

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

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Apr 30, 2025
@pcapriotti pcapriotti force-pushed the mls-reset branch 2 times, most recently from 23a9405 to 54652e4 Compare May 9, 2025 09:07
@pcapriotti pcapriotti marked this pull request as ready for review May 12, 2025 08:47
@pcapriotti pcapriotti requested review from a team as code owners May 12, 2025 08:47
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO or FUTUREWORK?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thanks for catching this. I wanted to refactor this slightly to avoid invoking the API handler in this case, but I'll move it to a follow-up PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this break older API versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, because the API is unchanged. Just the name of the type has changed.

We will add it back in a follow-up PR
@pcapriotti pcapriotti merged commit df5a75f into develop May 12, 2025
8 checks passed
@pcapriotti pcapriotti deleted the mls-reset branch May 12, 2025 14:00
pcapriotti added a commit that referenced this pull request May 13, 2025
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.

4 participants