Page MenuHomePhabricator

Introduce messages field in MessageStore during rehydration
ClosedPublic

Authored by marcin on Nov 7 2022, 9:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 7:59 AM
Unknown Object (File)
Fri, Nov 22, 7:59 AM
Unknown Object (File)
Fri, Nov 22, 7:59 AM
Unknown Object (File)
Fri, Nov 22, 7:59 AM
Unknown Object (File)
Fri, Nov 22, 7:59 AM
Unknown Object (File)
Fri, Nov 22, 7:52 AM
Unknown Object (File)
Fri, Nov 22, 7:45 AM
Unknown Object (File)
Tue, Nov 19, 8:56 PM
Subscribers

Details

Summary

This revision introduces empty messages field in MessageStore. This is essential change. The context why is here: https://linear.app/comm/issue/ENG-2133/sqlitecontextprovider-should-not-run-when-user-is-logged-out

Test Plan

Use messageInfoSelector in a place before SQLiteContextProvider dispatches action setMessageStoreMessages. Before this diff it will fail. I will not after.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-2130
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Rebase to master to fix android build failure

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 7 2022, 9:28 AM
Harbormaster failed remote builds in B13225: Diff 18149!

Rebase master to retrigger CI

marcin requested review of this revision.Nov 8 2022, 7:21 AM

Short-circuiting review here... I reviewed this approach extensively with @marcin during our 1:1 yesterday and in the comments of ENG-2133, so I think it's good to land.

This revision is now accepted and ready to land.Nov 8 2022, 7:52 AM