Page MenuHomePhabricator

[lib] resend messages after race condition
ClosedPublic

Authored by kamil on Aug 8 2024, 5:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 10:44 AM
Unknown Object (File)
Fri, Nov 29, 9:42 AM
Unknown Object (File)
Mon, Nov 25, 7:43 PM
Unknown Object (File)
Wed, Nov 20, 3:10 AM
Unknown Object (File)
Wed, Nov 20, 3:10 AM
Unknown Object (File)
Wed, Nov 20, 3:09 AM
Unknown Object (File)
Wed, Nov 20, 2:44 AM
Unknown Object (File)
Sat, Nov 9, 10:05 AM
Subscribers

Details

Summary
Test Plan
  1. Create a session between devices A and B
  2. On B comment out sending confirmation.
  3. Send some messages from A to B
  4. From B to A send a session request with the same session counter to trigger resolving the race condition
  5. Test that all messages are sent again and decrypted successfully

Diff Detail

Repository
rCOMM Comm
Branch
resending-2
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 8 2024, 5:48 AM
kamil edited the test plan for this revision. (Show Details)
kamil added inline comments.
lib/tunnelbroker/use-resend-peer-to-peer-messages.js
16
This revision is now accepted and ready to land.Aug 12 2024, 1:21 AM
This revision was landed with ongoing or failed builds.Aug 21 2024, 2:57 AM
This revision was automatically updated to reflect the committed changes.