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)
Sun, Nov 24, 8:35 AM
Unknown Object (File)
Sun, Nov 24, 6:30 AM
Unknown Object (File)
Sun, Nov 24, 6:30 AM
Unknown Object (File)
Sun, Nov 24, 6:03 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
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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