Page MenuHomePhabricator

[lib] Inline reduceUpdatesCurrentAsOf
ClosedPublic

Authored by inka on Nov 8 2023, 6:17 AM.
Tags
None
Referenced Files
F2897186: D9763.diff
Fri, Oct 4, 10:12 PM
Unknown Object (File)
Tue, Oct 1, 7:27 PM
Unknown Object (File)
Sat, Sep 28, 3:49 AM
Unknown Object (File)
Sep 4 2024, 7:43 AM
Unknown Object (File)
Sep 4 2024, 7:43 AM
Unknown Object (File)
Sep 4 2024, 7:43 AM
Unknown Object (File)
Sep 4 2024, 7:43 AM
Unknown Object (File)
Sep 4 2024, 7:43 AM
Subscribers

Details

Summary

issue:https://linear.app/comm/issue/ENG-5349/inline-reduceupdatescurrentasof
processUpdatesActionType is dispatched only from UpdateHandler when a message comes to a socket. Sockets are keyserver specific, so the data is also keyserver specific

Test Plan

Tested logInActionTypes and processUpdatesActionType. Assuming the rest works by symmetry (see the deleted file for how it was before)

Diff Detail

Repository
rCOMM Comm
Branch
inka/reducers
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka published this revision for review.Nov 8 2023, 6:20 AM
inka retitled this revision from [lib] Inline updates reducer to [lib] Inline reduceUpdatesCurrentAsOf.Nov 8 2023, 6:25 AM
inka edited the summary of this revision. (Show Details)

Rebase

lib/reducers/keyserver-reducer.js
125 ↗(On Diff #33200)

Shouldn't this be keyserverID?

Rebase and address review

This revision is now accepted and ready to land.Nov 16 2023, 4:52 AM
This revision was automatically updated to reflect the committed changes.