Skip to content

Comments

fix(webapp): Implement recovery mechanism for epoch number mismatch between CC and local state [WPB-23452]#20508

Open
thisisamir98 wants to merge 7 commits intodevfrom
WPB-23452
Open

fix(webapp): Implement recovery mechanism for epoch number mismatch between CC and local state [WPB-23452]#20508
thisisamir98 wants to merge 7 commits intodevfrom
WPB-23452

Conversation

@thisisamir98
Copy link
Collaborator

@thisisamir98 thisisamir98 commented Feb 25, 2026

TaskWPB-23452 [Web] Implement recovery mechanism for epoch number mismatch between CC and local web state

Problem:

if we read the epoch number from core crypto in case welcome is processed sooner than reset conversation will exists on core crypto but epoch number will be 0, on this scenario user will have a local unestablished MLS conversation

Solution:

In order to fix this we should not rely on the epoch number that we have on our local state and always read the epoch number from core crypto.

Copy link
Collaborator

@screendriver screendriver left a comment

Choose a reason for hiding this comment

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

Shouldn't some tests fail now?

…epository.ts

Co-authored-by: Christian Rackerseder <git@echooff.de>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2026

🔗 Download Full Report Artifact

🧪 Playwright Test Summary

  • Passed: 8
  • Failed: 2
  • Skipped: 4
  • 🔁 Flaky: 0
  • 📊 Total: 14
  • Total Runtime: 2091.2s (~ 34 min 51 sec)
specs/CriticalFlow/backupRestoration-TC-8634.spec.ts (❌ 1 failed, ⚠️ 0 flaky)
  • ❌ Setting up new device with a backup (tags: TC-8634, crit-flow-web)
specs/CriticalFlow/oneOnOneCall-TC-8754.spec.ts (❌ 1 failed, ⚠️ 0 flaky)
  • ❌ 1:1 Video call with device switch and screenshare (tags: TC-8754, crit-flow-web)

@sonarqubecloud
Copy link

@nkaramarko nkaramarko added this pull request to the merge queue Feb 25, 2026
@nkaramarko nkaramarko removed this pull request from the merge queue due to a manual request Feb 25, 2026
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