Page MenuHomePhabricator

Remove unecessary JSI queries
ClosedPublic

Authored by marcin on Nov 30 2022, 11:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 6:25 PM
Unknown Object (File)
Thu, Dec 19, 2:02 PM
Unknown Object (File)
Thu, Dec 19, 10:25 AM
Unknown Object (File)
Tue, Dec 10, 4:23 AM
Unknown Object (File)
Nov 22 2024, 6:45 AM
Unknown Object (File)
Nov 22 2024, 6:45 AM
Unknown Object (File)
Nov 22 2024, 6:45 AM
Unknown Object (File)
Nov 22 2024, 6:45 AM
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 ↗(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.