Page MenuHomePhabricator

Remove unecessary JSI queries
ClosedPublic

Authored by marcin on Nov 30 2022, 11:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 10, 8:38 AM
Unknown Object (File)
Apr 12 2024, 7:28 AM
Unknown Object (File)
Apr 12 2024, 7:28 AM
Unknown Object (File)
Apr 12 2024, 7:28 AM
Unknown Object (File)
Apr 12 2024, 7:28 AM
Unknown Object (File)
Apr 12 2024, 7:23 AM
Unknown Object (File)
Mar 31 2024, 1:11 AM
Unknown Object (File)
Mar 7 2024, 11:46 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #19030)

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 ↗(On Diff #19030)

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.