Check the timestamp and update the membership only when necessary.
https://linear.app/comm/issue/ENG-9114/update-addviewertothreadmembersspec
Depends on D13217
Paths
| Differential D13218 Authored by tomek on Sep 2 2024, 7:15 AM.
Tags None Referenced Files
Subscribers
Details Summary Check the timestamp and update the membership only when necessary. https://linear.app/comm/issue/ENG-9114/update-addviewertothreadmembersspec Depends on D13217 Test Plan Created two add_viewer_to_thread_members operations and checked if the resulting timestamps are correct (all the timestamps should equal the first operation time except the membership.role timestamp).
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptSep 2 2024, 7:15 AM2024-09-02 07:15:31 (UTC-7) Harbormaster completed remote builds in B31381: Diff 43826.Sep 2 2024, 7:32 AM2024-09-02 07:32:20 (UTC-7) Harbormaster completed remote builds in B31385: Diff 43830.Sep 2 2024, 7:41 AM2024-09-02 07:41:52 (UTC-7) This revision is now accepted and ready to land.Sep 5 2024, 6:41 AM2024-09-05 06:41:59 (UTC-7) Closed by commit rCOMM2a7c9bc65f1a: [lib] Check the timestamps when adding the viewer to thread members (authored by tomek). · Explain WhySep 6 2024, 8:10 AM2024-09-06 08:10:46 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 43934 lib/shared/dm-ops/add-members-spec.js
lib/shared/dm-ops/add-viewer-to-thread-members-spec.js
|