Page MenuHomePhabricator

[lib] allow missing `messageIDs` while comparing SQLite with `redux-persist`
ClosedPublic

Authored by kamil on Apr 25 2023, 10:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 6:07 PM
Unknown Object (File)
Sat, Dec 14, 10:29 PM
Unknown Object (File)
Sat, Dec 14, 10:29 PM
Unknown Object (File)
Sat, Dec 14, 10:27 PM
Unknown Object (File)
Sat, Dec 14, 10:07 PM
Unknown Object (File)
Nov 13 2024, 1:36 AM
Unknown Object (File)
Nov 11 2024, 1:27 AM
Unknown Object (File)
Nov 11 2024, 1:27 AM
Subscribers

Details

Summary

This allows threadID that is present in database but not redux. This will help while debugging - instead of an error that cannot read messageIDs of undefined we will have a more readable message, having information on which keys are different. Is it an issue for one key and e.g. it was not removed from DB while needed or there is some issue and redux-persist state was purged.

Depends on D7611

Test Plan

Make inconsistency and check if it is properly detected and logged

image.png (310×277 px, 57 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable