Page MenuHomePhabricator

[lib] resend messages after race condition
ClosedPublic

Authored by kamil on Aug 8 2024, 5:27 AM.
Tags
None
Referenced Files
F2755050: D13032.diff
Wed, Sep 18, 9:25 PM
Unknown Object (File)
Sat, Sep 7, 1:48 PM
Unknown Object (File)
Sat, Sep 7, 1:48 PM
Unknown Object (File)
Sat, Sep 7, 11:37 AM
Unknown Object (File)
Sat, Sep 7, 11:36 AM
Unknown Object (File)
Fri, Sep 6, 5:52 PM
Unknown Object (File)
Sun, Sep 1, 8:29 PM
Unknown Object (File)
Sat, Aug 31, 9:35 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.Wed, Aug 21, 2:57 AM
This revision was automatically updated to reflect the committed changes.