Page MenuHomePhabricator

Remove unecessary JSI queries
ClosedPublic

Authored by marcin on Nov 30 2022, 11:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 4:23 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:39 AM
Unknown Object (File)
Nov 19 2024, 1:12 AM
Unknown Object (File)
Nov 18 2024, 12:18 PM
Subscribers

Details

Summary

This differential removes ol unecessary JSI queries to get all drafts, threads and messages.

Test Plan

Removed queries are not used anymore in the project, so the sufficient test plan is to build the app.

Diff Detail

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

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 30 2022, 11:45 AM
Harbormaster failed remote builds in B13890: Diff 19030!

Looks like the keyserver failure is because of MariaDB release outage. I restarted it again (looks like you already restarted it once), but I think it's reasonable to "Request Review" with that workflow failing.

tomek added inline comments.
native/schema/CommCoreModuleSchema.js
33

Why do we keep sync versions?

This revision is now accepted and ready to land.Dec 1 2022, 6:23 AM
native/schema/CommCoreModuleSchema.js
33

Migration 32 in native/redux/persist.js uses getAllMessagesSync. getAllThreadsSync is not used anywhere but due to getAllMessagesSync usage I was afraid to remove it.

This revision was automatically updated to reflect the committed changes.