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: mls epic #1953

Merged
merged 9 commits into from Oct 15, 2023
Merged

feat: mls epic #1953

merged 9 commits into from Oct 15, 2023

Conversation

typfel
Copy link
Member

@typfel typfel commented Jul 18, 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?

Build from MLS epic for migration and 1-1 support.


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.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 18, 2023

Test Results

647 tests  +2   647 ✔️ +2   6m 42s ⏱️ - 2m 7s
  94 suites +1       0 💤 ±0 
  94 files   +1       0 ±0 

Results for commit 87bc79f. ± Comparison against base commit 04c06e3.

♻️ This comment has been updated with latest results.

@AndroidBob
Copy link
Collaborator

Build 463 failed.

@typfel typfel force-pushed the feat/migration-system-messages branch from f7cdd0d to 6070ca2 Compare July 18, 2023 13:31
@AndroidBob
Copy link
Collaborator

Build 474 failed.

Copy link
Contributor

@borichellow borichellow left a comment

Choose a reason for hiding this comment

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

Nice one!
Just a small comments

R.string.label_system_message_conversation_history_lost,
true)

class HistoryLostProtocolChanged: SystemMessage(
Copy link
Contributor

Choose a reason for hiding this comment

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

HistoryLostProtocolChanged and HistoryLost could be just object not class

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the review! I'm mainly trying to produce a build for Antje here, I'll open real PR later when this is ready to be merged.

@@ -567,6 +567,10 @@
<string name="label_system_message_deactivated">deactivated</string>
<string name="label_system_message_conversation_history_lost">You haven\'t used this device for a while. some messages may not appear here.</string>
<string name="label_system_message_conversation_mls_wrong_epoch_error_handled">The MLS group key was updated without our knowledge. This could happen due to lost messages between backends, or a bug. We have automatically rejoined the conversation, but you may have lost messages.</string>
<string name="label_system_message_conversation_history_lost_protocol_changed">You didn\'t update your app in time. some messages may not appear here.</string>
<string name="label_system_message_conversation_protocol_changed_proteus">Migration of encryption protocol was canceled.</string>
<string name="label_system_message_conversation_protocol_changed_mixed">Migration of encryption protocol has started. Make sure you all your Wire clients are updated.</string>
Copy link
Contributor

Choose a reason for hiding this comment

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

Migration of encryption protocol has started. Make sure all your Wire clients are updated.

app/src/main/res/values/strings.xml Outdated Show resolved Hide resolved
@typfel typfel force-pushed the feat/migration-system-messages branch from 6070ca2 to 95c6388 Compare July 20, 2023 09:55
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jul 20, 2023
@AndroidBob
Copy link
Collaborator

Build 556 failed.

@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #1953 (87bc79f) into develop (d3d6bf7) will increase coverage by 0.06%.
Report is 2 commits behind head on develop.
The diff coverage is 60.19%.

@@              Coverage Diff              @@
##             develop    #1953      +/-   ##
=============================================
+ Coverage      41.27%   41.34%   +0.06%     
- Complexity      1051     1055       +4     
=============================================
  Files            328      329       +1     
  Lines          11924    11990      +66     
  Branches        1589     1592       +3     
=============================================
+ Hits            4922     4957      +35     
- Misses          6533     6559      +26     
- Partials         469      474       +5     
Files Coverage Δ
...ire/android/feature/ObserveAppLockConfigUseCase.kt 90.00% <100.00%> (ø)
...onversations/banner/ConversationBannerViewModel.kt 55.81% <ø> (ø)
...participants/GroupConversationParticipantsState.kt 95.65% <100.00%> (+4.74%) ⬆️
...participants/model/ConversationParticipantsData.kt 100.00% <100.00%> (ø)
...ations/details/participants/model/UIParticipant.kt 100.00% <100.00%> (ø)
...rc/main/kotlin/com/wire/android/ui/WireActivity.kt 0.00% <0.00%> (ø)
...ations/migration/ConversationMigrationViewModel.kt 95.23% <95.23%> (ø)
...tlin/com/wire/android/datastore/GlobalDataStore.kt 11.29% <0.00%> (-1.21%) ⬇️
...ire/android/ui/home/appLock/LockCodeTimeManager.kt 89.28% <90.90%> (-6.87%) ⬇️
...tlin/com/wire/android/migration/MigrationMapper.kt 0.00% <0.00%> (ø)
... and 4 more

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 04c06e3...87bc79f. Read the comment docs.

@github-actions
Copy link
Contributor

Build (dev-debug) available here. Scroll down to Artifacts!

@github-actions
Copy link
Contributor

Build (beta-debug) available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 564 succeeded.

The build produced the following APK's:

@typfel typfel force-pushed the feat/migration-system-messages branch from d842f2a to 48a2ed1 Compare July 20, 2023 13:11
@github-actions
Copy link
Contributor

Build (dev-debug) available here. Scroll down to Artifacts!

@github-actions
Copy link
Contributor

Build (beta-debug) available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 572 succeeded.

The build produced the following APK's:

@typfel typfel force-pushed the feat/migration-system-messages branch from 48a2ed1 to d6ce123 Compare August 15, 2023 15:40
@AndroidBob
Copy link
Collaborator

Build 1113 failed.

@typfel typfel force-pushed the feat/migration-system-messages branch from d6ce123 to a293d31 Compare August 15, 2023 15:54
@AndroidBob
Copy link
Collaborator

Build 1114 failed.

@typfel typfel force-pushed the feat/migration-system-messages branch from a293d31 to d790ed6 Compare August 16, 2023 07:55
@AndroidBob
Copy link
Collaborator

Build 1123 failed.

@typfel typfel force-pushed the feat/migration-system-messages branch from d790ed6 to 7e3aba8 Compare August 16, 2023 12:26
@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1133 succeeded.

The build produced the following APK's:

@AndroidBob
Copy link
Collaborator

Build 1248 succeeded.

The build produced the following APK's:

@AndroidBob
Copy link
Collaborator

Build 1283 failed.

@typfel typfel force-pushed the feat/migration-system-messages branch from 70e290c to ab07f48 Compare October 13, 2023 05:55
@AndroidBob
Copy link
Collaborator

Build 1284 succeeded.

The build produced the following APK's:

@AndroidBob
Copy link
Collaborator

Build 1307 succeeded.

The build produced the following APK's:

@typfel typfel force-pushed the feat/migration-system-messages branch from 5043e6a to 87bc79f Compare October 15, 2023 23:09
@typfel typfel changed the title build: mls migration feat: mls epic Oct 15, 2023
@typfel typfel enabled auto-merge October 15, 2023 23:12
@typfel typfel added this pull request to the merge queue Oct 15, 2023
@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

Merged via the queue into develop with commit 43b3f91 Oct 15, 2023
18 of 19 checks passed
@typfel typfel deleted the feat/migration-system-messages branch October 15, 2023 23:45
@AndroidBob
Copy link
Collaborator

Build 1308 succeeded.

The build produced the following APK's:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants