Part of threadInfoFromRawThreadInfo(...).
Required changes to createPendingThread and sendPushNotifs.
Depends on D10715
Paths
| Differential D10718 Authored by atul on Jan 18 2024, 11:26 AM.
Details Summary Part of threadInfoFromRawThreadInfo(...). Required changes to createPendingThread and sendPushNotifs. Depends on D10715 Test Plan flow, will make sure push notifs continue to work as expected.
Diff Detail
Event Timelineatul added inline comments.
Harbormaster completed remote builds in B25918: Diff 35838.Jan 18 2024, 11:45 AM2024-01-18 11:45:29 (UTC-8) Harbormaster completed remote builds in B25919: Diff 35839.Jan 18 2024, 11:57 AM2024-01-18 11:57:25 (UTC-8) Comment Actions Passing back for those unit tests and a question inline
This revision now requires changes to proceed.Jan 21 2024, 8:43 PM2024-01-21 20:43:32 (UTC-8) Harbormaster completed remote builds in B26099: Diff 36070.Jan 23 2024, 2:49 PM2024-01-23 14:49:58 (UTC-8) atul added inline comments.
atul attached a referenced file: F1088547: d37ed4.png. (Show Details)Jan 25 2024, 11:29 AM2024-01-25 11:29:02 (UTC-8) This revision is now accepted and ready to land.Jan 25 2024, 5:45 PM2024-01-25 17:45:03 (UTC-8)
Harbormaster completed remote builds in B26210: Diff 36199.Jan 26 2024, 2:51 PM2024-01-26 14:51:55 (UTC-8) Closed by commit rCOMM0173927531a1: [lib] Remove branching from `threadInfoFromRawThreadInfo(...)` (authored by atul). · Explain WhyJan 26 2024, 3:32 PM2024-01-26 15:32:56 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 35838 keyserver/src/push/send.js
lib/shared/thread-utils.js
|
I thought putting an invariant here was a reasonable trade-off vs. refactoring the types in the fullStateSyncActionType payload (specifically StateSyncFullActionPayload which is derived from ClientFullStateSync which is derived from BaseFullStateSync) which are used across clients and keyserver.
Open to re-exploring if that would be preferred.