Introduces the threadActivity sqlite store ops spec
Depends on D11622
Differential D11575 Authored by will on Apr 8 2024, 6:16 AM.
Details
Summary Introduces the threadActivity sqlite store ops spec Depends on D11622 Test Plan flow check. Functionality tested later in stack
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptApr 8 2024, 6:16 AM2024-04-08 06:16:07 (UTC-7) Harbormaster completed remote builds in B28044: Diff 38893.Apr 8 2024, 6:31 AM2024-04-08 06:31:25 (UTC-7) This revision is now accepted and ready to land.Apr 8 2024, 10:26 AM2024-04-08 10:26:22 (UTC-7) will edited the summary of this revision. (Show Details)Apr 10 2024, 10:46 AM2024-04-10 10:46:16 (UTC-7) will added a parent revision: D11622: [lib] Make `lastPruned` and `lastNavigatedTo` type optional for thread activity entry. Closed by commit rCOMM6f981993537e: [lib] Add thread activity store ops (authored by will). · Explain WhyApr 19 2024, 12:25 PM2024-04-19 12:25:52 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 38893 lib/ops/thread-activity-store-ops.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.