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

feat: handle federation context for MLS add participants to a conversation (WPB-2229) #2275

Merged
merged 44 commits into from
Dec 6, 2023

Conversation

yamilmedina
Copy link
Contributor

@yamilmedina yamilmedina commented Nov 28, 2023


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

No special handling for federated environments for adding participants in an MLS conversation.

Causes (Optional)

Not implemented.

Solutions

Handle retry mechanism, when claiming packages fails due to:

  • Not available packages
  • Unreachable backends and NFCG

Handle retry mechanism, when post commit bundle fails due to:

  • Unreachable backends and NFCG

Reusing some of the prev work like RetryableFailure, System messages creator to name a few.

Needs releases with:

  • GitHub link to other pull request

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@yamilmedina yamilmedina marked this pull request as ready for review November 30, 2023 17:17
@datadog-wireapp
Copy link

datadog-wireapp bot commented Nov 30, 2023

Datadog Report

All test runs 8cb6f7b 🔗

2 Total Test Services: 0 Failed, 0 with New Flaky, 2 Passed

Test Services
Service Name Failed Known Flaky New Flaky Passed Skipped Wall Time Branch View
kalium-ios 0 0 0 2036 42 5m 25.11s Link
kalium-jvm 0 0 0 2581 104 7m 19s Link

@yamilmedina yamilmedina requested review from typfel, a team, alexandreferris, MohamadJaara, mchenani and Garzas and removed request for a team December 1, 2023 09:21
Copy link
Contributor

@alexandreferris alexandreferris left a comment

Choose a reason for hiding this comment

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

👌🏻

Copy link
Contributor

@mchenani mchenani left a comment

Choose a reason for hiding this comment

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

🦾

groupId: String,
userIdList: List<UserId>,
failedUsersList: Set<UserId> = emptySet(),
remainingAttempts: Int = 2
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: can we extract this default value to the top of the class for example?

@yamilmedina yamilmedina added this pull request to the merge queue Dec 6, 2023
Merged via the queue into develop with commit a9f9834 Dec 6, 2023
17 checks passed
@yamilmedina yamilmedina deleted the feat/mls-addparticipants-federation-v2 branch December 6, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants