You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-01-19] [Performance] Use react-native-quick-sqlite instead of asyncStorage #10793
Web Browser - no as we are not messing with web storage in this change.
Native - I guess we could clear this. I'm not sure if it's worth it. Fresh install of the app would eventually clear out this data. We can always do a simple migration that just does AsyncStorage.clear() (but requires that we include the library forever just for this purpose).
Ah, also, I think we should add something to delete all the existing data from the old place, no? Or would the browser clear it out eventually?
Good point, I don't know - need to research this
In any case to make migrations easier to manage problems like these we need to update the migration system a bit so that
migrations can be loaded on demand (e.g. require calls)
irrelevant migrations can be dropped, or at least not required
This would allow us to use dependencies in migrations (e.g. AsyncStorage), and perhaps carry them for a month or 2 (using some heuristics - e.g. are there any users using a version predating the migration) after they are no longer needed we can drop them altogether
changed the title [-][Performance] Use react-native-quick-sqlite instead of asyncStorage[/-][+][HOLD for payment 2023-01-19] [Performance] Use react-native-quick-sqlite instead of asyncStorage[/+]on Jan 12, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.52-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[] The PR that introduced the bug has been identified. Link to the PR:
[] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@JmillsExpensify] A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here:
I think there is nothing else to do here since payments are handled by different flow in this case. Should we close this issue or anything else left? 🎉
Activity
melvin-bot commentedon Sep 2, 2022
Triggered auto assignment to @thienlnam (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.melvin-bot commentedon Sep 2, 2022
📣 @Szymon20000! 📣
Please report bugs or suggest features in the #expensify-open-source Slack channel, don't directly open issues in this repo!
Instructions here to join the channel 📖
roryabraham commentedon Sep 5, 2022
Switching this to weekly
39 remaining items
marcaaron commentedon Dec 23, 2022
Web Browser - no as we are not messing with web storage in this change.
Native - I guess we could clear this. I'm not sure if it's worth it. Fresh install of the app would eventually clear out this data. We can always do a simple migration that just does
AsyncStorage.clear()(but requires that we include the library forever just for this purpose).kidroca commentedon Dec 23, 2022
Good point, I don't know - need to research this
In any case to make migrations easier to manage problems like these we need to update the migration system a bit so that
requirecalls)requiredThis would allow us to use dependencies in migrations (e.g. AsyncStorage), and perhaps carry them for a month or 2 (using some heuristics - e.g. are there any users using a version predating the migration) after they are no longer needed we can drop them altogether
JmillsExpensify commentedon Jan 11, 2023
@tgolen Isn't this issue done at this point?
roryabraham commentedon Jan 11, 2023
The PR to upgrade E/App to use the new quick-sqlite based version of Onyx was deployed to staging in #14188, not yet deployed to production
[-][Performance] Use react-native-quick-sqlite instead of asyncStorage[/-][+][HOLD for payment 2023-01-19] [Performance] Use react-native-quick-sqlite instead of asyncStorage[/+]melvin-bot commentedon Jan 12, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.52-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-01-19. 🎊
After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon Jan 12, 2023
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
mountiny commentedon Jan 12, 2023
I think there is nothing else to do here since payments are handled by different flow in this case. Should we close this issue or anything else left? 🎉
JmillsExpensify commentedon Jan 18, 2023
@Szymon20000 Can you make sure that we handle your individual $1,000 bonus for this issue on Margelo invoice?
JmillsExpensify commentedon Jan 18, 2023
@mountiny I'll go ahead and close the issue, though can you double confirm that the BZ checklist above doesn't apply?
mountiny commentedon Jan 18, 2023
It does not apply in this case!