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)
Wed, Dec 25, 11:57 PM
Unknown Object (File)
Wed, Dec 25, 11:57 PM
Unknown Object (File)
Wed, Dec 25, 11:57 PM
Unknown Object (File)
Wed, Dec 25, 11:57 PM
Unknown Object (File)
Wed, Dec 25, 11:57 PM
Unknown Object (File)
Wed, Dec 25, 11:56 PM
Unknown Object (File)
Wed, Dec 25, 11:46 PM
Unknown Object (File)
Nov 28 2024, 12:09 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
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