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

fix: update group state when fetching conversation during slow sync WPB-11247 🍒 #3033

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 25, 2024

BugWPB-11247 MLS conversations are broken on client deletion

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?

Issues

Group state isn't updated during the slow sync, which means MLS conversation will keep the ESTABLISHED state even though they no longer exists inside CoreCrypto if we registered a new client.

Causes

mls_group_state is not included the "on conflict" clause.

Solutions

Include it


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 github-actions bot added echoes/initiative: product-metrics-in-countly Analytics and KPIs echoes: bugs Technical or functional defects in the product echoes: features End-user visible changes intended to create customer value echoes: maintenance Maintenance activity - Refactoring , Preventive , Improvements to code , Performance improvements echoes: security Security related changes or defects echoes: technical-debt Changes intended at mitigating risks echoes: throughput Changes intended at preserving our ability to evolve the software safely and effectively echoes: throughput/ci-maintenance Changes we need to do to keep CI healthy and fast type: bug / fix 🐞 👕 size: S labels Sep 25, 2024
…PB-11247 (#3029)

* fix: update  group state when fetching conversation during slow sync

* test: verify that group state is updated on re-insertion
@typfel typfel force-pushed the fix/mls-re-login-WPB-11247-cherry-pick branch from fd7a88f to 2083360 Compare September 25, 2024 11:11
Copy link

sonarcloud bot commented Sep 25, 2024

Copy link
Contributor Author

github-actions bot commented Sep 25, 2024

Test Results

3 198 tests  +1   3 091 ✔️ +1   4m 21s ⏱️ +23s
   548 suites ±0      107 💤 ±0 
   548 files   ±0          0 ±0 

Results for commit 2083360. ± Comparison against base commit 112b901.

♻️ This comment has been updated with latest results.

@vitorhugods vitorhugods added this pull request to the merge queue Sep 25, 2024
@datadog-wireapp
Copy link

Datadog Report

Branch report: fix/mls-re-login-WPB-11247-cherry-pick
Commit report: c2ccd13
Test service: kalium-jvm

✅ 0 Failed, 3091 Passed, 107 Skipped, 13.09s Total Time

Merged via the queue into release/candidate with commit 079972b Sep 25, 2024
22 checks passed
@vitorhugods vitorhugods deleted the fix/mls-re-login-WPB-11247-cherry-pick branch September 25, 2024 12:01
github-actions bot added a commit that referenced this pull request Sep 25, 2024
…PB-11247 (#3029) (#3033)

* fix: update  group state when fetching conversation during slow sync

* test: verify that group state is updated on re-insertion

Co-authored-by: Jacob Persson <[email protected]>
typfel added a commit that referenced this pull request Sep 25, 2024
…PB-11247 (#3029) (#3033)

* fix: update  group state when fetching conversation during slow sync

* test: verify that group state is updated on re-insertion

Co-authored-by: Jacob Persson <[email protected]>
typfel added a commit that referenced this pull request Sep 25, 2024
…PB-11247 (#3029) (#3033)

* fix: update  group state when fetching conversation during slow sync

* test: verify that group state is updated on re-insertion

Co-authored-by: Jacob Persson <[email protected]>
typfel added a commit that referenced this pull request Sep 27, 2024
…PB-11247 (#3029) (#3033)

* fix: update  group state when fetching conversation during slow sync

* test: verify that group state is updated on re-insertion

Co-authored-by: Jacob Persson <[email protected]>
typfel added a commit that referenced this pull request Sep 27, 2024
…PB-11247 (#3029) (#3033)

* fix: update  group state when fetching conversation during slow sync

* test: verify that group state is updated on re-insertion

Co-authored-by: Jacob Persson <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Sep 27, 2024
…PB-11247 (#3029) (#3033) (#3037)

* fix: update  group state when fetching conversation during slow sync

* test: verify that group state is updated on re-insertion

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jacob Persson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: bugs Technical or functional defects in the product echoes: features End-user visible changes intended to create customer value echoes/initiative: product-metrics-in-countly Analytics and KPIs echoes: maintenance Maintenance activity - Refactoring , Preventive , Improvements to code , Performance improvements echoes: security Security related changes or defects echoes: technical-debt Changes intended at mitigating risks echoes: throughput/ci-maintenance Changes we need to do to keep CI healthy and fast echoes: throughput Changes intended at preserving our ability to evolve the software safely and effectively 👕 size: S type: bug / fix 🐞
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants