Page MenuHomePhabricator

[lib] remove integrity store assertion and use sqlite
ClosedPublic

Authored by will on Jul 8 2024, 5:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 2:10 PM
Unknown Object (File)
Sun, Nov 3, 5:30 AM
Unknown Object (File)
Tue, Oct 22, 1:16 PM
Unknown Object (File)
Tue, Oct 22, 9:08 AM
Unknown Object (File)
Tue, Oct 22, 8:33 AM
Unknown Object (File)
Tue, Oct 22, 8:33 AM
Unknown Object (File)
Tue, Oct 22, 8:33 AM
Unknown Object (File)
Sep 26 2024, 6:26 AM
Subscribers

Details

Summary

This removes integrity store from redux persist and instead utilizes sqlite to populate redux state

Test Plan

Tested on debug native and web

Web redux tools correctly shows populated redux state with thread hashes

Native iOS simulator does not result in any errors

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

@kamil does anything need to be done to remove redux persist integrityStore data besides adding to the persistBlacklist? On initial startup, I get a hydrated keys not expected integrityStore which doesn't appear on subsequent app opens in debug iOS Simulator

will requested review of this revision.Jul 8 2024, 5:30 AM
In D12686#359268, @will wrote:

@kamil does anything need to be done to remove redux persist integrityStore data besides adding to the persistBlacklist? On initial startup, I get a hydrated keys not expected integrityStore which doesn't appear on subsequent app opens in debug iOS Simulator

I think this is fine, this is just a log and each one should see it only once - Alternatively, we can add a migration to explicitly remove integrityStore but I don't think it is worth it.

lib/reducers/integrity-reducer.js
32 ↗(On Diff #42102)

this can be removed now

This revision is now accepted and ready to land.Jul 12 2024, 2:17 AM

review feedback and rebase