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

chore(mls): unify MLSClientIdentity models (WPB-9774) 🍒 #2885 #2900

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

mchenani
Copy link
Member

@mchenani mchenani commented Jul 25, 2024

BugWPB-9774 Refactoring MLS Client Identity models

This PR was automatically cherry-picked based on the following PR:

Original PR description:



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?

To fetch the MLSClientIdentity from CC we were mapping them in different models, due to different changes we needed more data to be exposed, we needed them to be unified and map all the available data from CC.

Issues

Hard to maintain different models
Due to maturity of CC now we have a rich and solid model we can map full object in Kalium and Android App.

Needs releases with:
With AR

  • GitHub link to other pull request

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

All E2EI features must work as before!


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.

* chore: refactor identity models

* fix tests

* user correct clientId and Handle in MLSClientIdentity object

* clean mapping object checker

* fix formatting and remove one line un-used code

---------

Co-authored-by: Vitor Hugo Schwaab <[email protected]>

(cherry picked from commit 8f000c0)
Copy link

sonarcloud bot commented Jul 25, 2024

@mchenani mchenani enabled auto-merge (squash) July 25, 2024 13:27
Copy link
Contributor

github-actions bot commented Jul 25, 2024

Test Results

2 959 tests   2 942 ✔️  1h 1m 11s ⏱️
       5 suites       17 💤
       5 files           0

Results for commit 3acfed0.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

Datadog Report

Branch report: chore/mls/cherry-pick-unify-e2ei-models
Commit report: 05e6cd6
Test service: kalium-jvm

✅ 0 Failed, 3019 Passed, 105 Skipped, 12.18s Total Time

@mchenani mchenani merged commit 5b59861 into release/candidate Jul 25, 2024
23 checks passed
@mchenani mchenani deleted the chore/mls/cherry-pick-unify-e2ei-models branch July 25, 2024 14:51
github-actions bot pushed a commit that referenced this pull request Jul 25, 2024
* chore: refactor identity models

* fix tests

* user correct clientId and Handle in MLSClientIdentity object

* clean mapping object checker

* fix formatting and remove one line un-used code

---------

Co-authored-by: Vitor Hugo Schwaab <[email protected]>

(cherry picked from commit 8f000c0)
github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2024
…#2902)

* chore: refactor identity models

* fix tests

* user correct clientId and Handle in MLSClientIdentity object

* clean mapping object checker

* fix formatting and remove one line un-used code

---------

Co-authored-by: Vitor Hugo Schwaab <[email protected]>

(cherry picked from commit 8f000c0)

Co-authored-by: Mojtaba Chenani <[email protected]>
Co-authored-by: Yamil Medina <[email protected]>
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.

3 participants