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(e2ei): init e2ei based on client state (WPB-353) #2159

Merged
merged 15 commits into from
Oct 23, 2023

Conversation

mchenani
Copy link
Contributor


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?

We need to call different functions to initiate the e2eiClient from the MLSClient, this consideration added to the E2EIClientProvider by this PR.

Needs releases with:
After:
#2156

  • GitHub link to other pull request

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

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.

@mchenani mchenani changed the title feat(e2ei): init e2ei based on client state feat(e2ei): init e2ei based on client state (WPB-353) Oct 20, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2023

Unit Test Results

       1 files   - 457         1 suites   - 457   8s ⏱️ - 2m 19s
1 800 tests  - 753  1 795 ✔️  - 654  5 💤  - 99  0 ±0 

Results for commit aeec26b. ± Comparison against base commit 97ad1de.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

datadog-wireapp bot commented Oct 20, 2023

Datadog Report

All test runs 10ed229 🔗

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 1773 30 10.1s Link
kalium-jvm 0 0 0 2452 104 11m 10s Link

@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2023

Codecov Report

Merging #2159 (7954613) into develop (3df8be3) will increase coverage by 0.06%.
The diff coverage is 82.00%.

@@              Coverage Diff              @@
##             develop    #2159      +/-   ##
=============================================
+ Coverage      57.81%   57.88%   +0.06%     
  Complexity        21       21              
=============================================
  Files           1059     1059              
  Lines          40166    40190      +24     
  Branches        3720     3722       +2     
=============================================
+ Hits           23223    23265      +42     
+ Misses         15336    15314      -22     
- Partials        1607     1611       +4     
Files Coverage Δ
...ire/kalium/logic/data/client/E2EIClientProvider.kt 86.48% <100.00%> (+83.15%) ⬆️
...lium/logic/data/conversation/ConversationMapper.kt 58.58% <100.00%> (+0.57%) ⬆️
...gic/data/conversation/MLSConversationRepository.kt 84.42% <100.00%> (-0.15%) ⬇️
.../com/wire/kalium/logic/data/user/UserRepository.kt 57.53% <ø> (ø)
.../com/wire/kalium/logic/data/e2ei/E2EIRepository.kt 81.48% <84.61%> (ø)
...monMain/kotlin/com/wire/kalium/cryptography/IDs.kt 74.35% <76.92%> (+5.39%) ⬆️
...n/kotlin/com/wire/kalium/cryptography/MLSClient.kt 81.48% <33.33%> (-13.98%) ⬇️

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3df8be3...7954613. Read the comment docs.

@mchenani mchenani enabled auto-merge October 23, 2023 12:50
@mchenani mchenani added this pull request to the merge queue Oct 23, 2023
@mchenani mchenani removed this pull request from the merge queue due to a manual request Oct 23, 2023
@mchenani mchenani enabled auto-merge October 23, 2023 13:24
@mchenani mchenani added this pull request to the merge queue Oct 23, 2023
Merged via the queue into develop with commit 872981a Oct 23, 2023
15 checks passed
@mchenani mchenani deleted the feat/e2ei/init-e2ei-based-on-client-state branch October 23, 2023 14:44
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.

4 participants