Page MenuHomePhabricator

[lib] Introduce new operation queues
ClosedPublic

Authored by tomek on Sep 17 2024, 8:45 AM.
Tags
None
Referenced Files
F3373478: D13363.diff
Tue, Nov 26, 9:56 AM
Unknown Object (File)
Fri, Nov 22, 9:36 PM
Unknown Object (File)
Wed, Nov 20, 7:02 AM
Unknown Object (File)
Wed, Nov 20, 6:40 AM
Unknown Object (File)
Oct 22 2024, 10:41 AM
Unknown Object (File)
Oct 22 2024, 10:20 AM
Unknown Object (File)
Oct 22 2024, 10:20 AM
Unknown Object (File)
Oct 20 2024, 7:45 PM
Subscribers

Details

Summary

Introduce the queues and fix the code so that the previous functionality works. These queues will contain operations that should wait for different conditions.

https://linear.app/comm/issue/ENG-9189/introduce-additional-operation-queues

Test Plan

Tested the whole stack at once:

  1. Created an operation with a reaction that was received before an operation creating the message
  2. Created an operation with an edit that was received before an operation creating the message
  3. Created an operation with an entry edit that was received before an operation creating the entry
  4. Created an operation with thread subscription change that was received before the user became a member

In each of the cases verified that the result was correct and that the operation was removed from the queue.

Also tested that the migration works on the web by adding an operation to a queue, upgrading the app version, and checking if it appears in threadQueue.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage