Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump react-native-onyx to 2.0.23 #38114

Merged
merged 7 commits into from
Apr 4, 2024

Conversation

hurali97
Copy link
Contributor

@hurali97 hurali97 commented Mar 12, 2024

Details

This PR bumps the react-native-onyx package to the current latest version as of now: 2.0.23

Fixed Issues

$ #37593
$ #37995
PROPOSAL: -

Tests

  • Verify that no errors appear in the JS console

Offline tests

QA Steps

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
    • MacOS: Desktop
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
      • If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
android.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov

@hurali97 hurali97 marked this pull request as ready for review March 12, 2024 07:27
@hurali97 hurali97 requested a review from a team as a code owner March 12, 2024 07:27
@melvin-bot melvin-bot bot removed the request for review from a team March 12, 2024 07:27
Copy link

melvin-bot bot commented Mar 12, 2024

@srikarparsi Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot requested a review from srikarparsi March 12, 2024 07:27
@srikarparsi
Copy link
Contributor

Hi, can you please link the issue this fixes?

@hurali97
Copy link
Contributor Author

Hi, can you please link the issue this fixes?

Hey @srikarparsi , I have linked the two issues that are fixed by this.

This comment has been minimized.

@aimane-chnaif
Copy link
Contributor

There's TS error
captureMetrics key doesn't exist after Expensify/react-native-onyx#479

@aimane-chnaif
Copy link
Contributor

Regression: #37746

Actual Result:

Screen.Recording.2024-03-12.at.10.45.41.AM.mov

Expected Result:
Screenshot 2024-03-12 at 10 47 22 AM

@aimane-chnaif
Copy link
Contributor

Regression: #37752

This time original tab shows this instead of remaining at sign in page:

Screenshot 2024-03-12 at 10 55 57 AM

@mountiny mountiny changed the title chore: bump react-native-onyx to 2.0.19 chore: bump react-native-onyx to 2.0.23 Mar 27, 2024
@mountiny mountiny requested a review from eh2077 March 27, 2024 17:07
@mountiny
Copy link
Contributor

Creating a new build after the bump

Copy link
Contributor

🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪

Android 🤖 iOS 🍎
https://ad-hoc-expensify-cash.s3.amazonaws.com/android/38114/index.html ❌ FAILED ❌
Android The QR code can't be generated, because the iOS build failed
Desktop 💻 Web 🕸️
https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/38114/NewExpensify.dmg https://38114.pr-testing.expensify.com
Desktop Web

👀 View the workflow run that generated this build 👀

@eh2077
Copy link
Contributor

eh2077 commented Mar 28, 2024

Below are all new merged pull requests since last release

@eh2077
Copy link
Contributor

eh2077 commented Mar 28, 2024

Did following generic tests

  1. Login and logout - found a bug and reported here but I think it's not related to this issue.
  2. Chat - send message, edit message and view attachments - Looks good
  3. Money request - request money by amount or scan receipt - Looks good

Copy link
Contributor

🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪

Android 🤖 iOS 🍎
https://ad-hoc-expensify-cash.s3.amazonaws.com/android/38114/index.html https://ad-hoc-expensify-cash.s3.amazonaws.com/ios/38114/index.html
Android iOS
Desktop 💻 Web 🕸️
❌ FAILED ❌ https://38114.pr-testing.expensify.com
The QR code can't be generated, because the Desktop build failed Web

👀 View the workflow run that generated this build 👀

@mountiny
Copy link
Contributor

Asked for QA regression testing

@eh2077
Copy link
Contributor

eh2077 commented Mar 28, 2024

Update tests done

  1. Web reload page results in not-found page. I'm not sure if this is a legit issue
reload-not-found.mov
  1. Deeplink test like https://staging.new.expensify.com/settings/workspaces/1BFCE215B9D3CB81/members

    • Web Chrome working
    • Android emulator not working, link is not clickable
  2. Offline test - Emoji reactions sync between Android App and Web Chrome - Works well

@eh2077
Copy link
Contributor

eh2077 commented Apr 1, 2024

Yeah, sure I'll do it though my first try was failed to build iOS app. Let me dig a bit deeper into it.

@eh2077
Copy link
Contributor

eh2077 commented Apr 1, 2024

Tested following issues on this branch locally

  1. New Workspace not working on ios chore: bump react-native-onyx to 2.0.23 #38114 (comment)
    • Reproduced
Click to see recording
Simulator.Screen.Recording.-.iPhone.15.-.2024-04-01.at.16.42.19.mp4
  1. NA

  2. Debug console chore: bump react-native-onyx to 2.0.23 #38114 (comment) I dont think its related but we should verify

    • Reproduced
    • The logging falls into endless loop for message like
      DEBUG [info] [Onyx] merge called for key: logs properties: 1711961001851 hasChanged: true - ""
Click to see recording
Simulator.Screen.Recording.-.iPhone.15.-.2024-04-01.at.16.43.36.mp4
Click to see logs
 DEBUG  [info] Called API write - {"command":"ReconnectApp","policyIDList":["080C5758FC4F8D4D","091669136E83692F","1BFCE215B9D3CB81","2998D58EF76CE913","33DE5F4EC251BF99","F81604E665CFB0B2"],"idempotencyKey":"ReconnectApp","mostRecentReportActionLastModified":"2024-03-30 09:15:08.947","updateIDFrom":226559294}
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties: 0 hasChanged: true - ""
 DEBUG  Timing:development.new.expensify.calc_most_recent_last_modified_action 1
 DEBUG  [info] Making API request - {"command":"ReconnectApp"}
 DEBUG  [info] [Onyx] merge called for key: isLoadingReportData hasChanged: true - ""
 DEBUG  [info] Redirecting to Sign In because signOut() was called - ""
 DEBUG  [info] Flushing logs before signing out - {}
 DEBUG  [info] Called API write - {"command":"LogOut","authToken":"<token string is  removed>","partnerUserID":"expensify.cash-iPhone15,4_A503C287-4284-4B51-B423-340A5E162B99","partnerName":"chat-expensify-com","partnerPassword":"e21965746fd75f82bb66","shouldRetry":false}
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties: 0,1 hasChanged: true - ""
 DEBUG  [info] [PushNotification] Unsubscribing from push notifications. - ""
 DEBUG  [hmmm] [PusherConnectionManager] state change - {"states":{"previous":"connected","current":"disconnected"}}
 DEBUG  [hmmm] [PusherConnectionManager] disconnected event - ""
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties:  hasChanged: true - ""
 DEBUG  [info] Navigating to route - {"path":"/"}
 DEBUG  [info] [Onyx] set called for key: isCheckingPublicRoom hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - ""
 DEBUG  [info] Navigating to route - {"path":"/"}
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: false - ""
 DEBUG  [info] [Onyx] merge called for key: account properties: success,errors,message,isLoading hasChanged: true - ""
 DEBUG  [info] [Network] API request error: Request canceled - {"message":"Aborted","request":{"command":"ReconnectApp","data":{"policyIDList":["080C5758FC4F8D4D","091669136E83692F","1BFCE215B9D3CB81","2998D58EF76CE913","33DE5F4EC251BF99","F81604E665CFB0B2"],"idempotencyKey":"ReconnectApp","mostRecentReportActionLastModified":"2024-03-30 09:15:08.947","updateIDFrom":226559294,"appversion":"1.4.57-2","apiRequestType":"write","pusherSocketID":"689971.868960","shouldRetry":true,"canCancel":true},"finallyData":[{"onyxMethod":"merge","key":"isLoadingReportData","value":false}]}}
 DEBUG  [info] Cleared all cache data - {}
 DEBUG  [info] Navigating to route - {"path":"/"}
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: false - ""
 DEBUG  [info] Previous log requestID - {"requestID":"86d7474a291e4d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] Previous log requestID - {"requestID":"86d7474a291c4d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] Called API makeRequestWithSideEffects - {"command":"BeginSignIn","email":"ericwdev001+240401@gmail.com"}
 DEBUG  [info] Making API request - {"command":"BeginSignIn"}
 DEBUG  [info] [Onyx] merge called for key: account properties: errors,success,isLoading,message,loadingForm hasChanged: true - ""
 DEBUG  [info] Finished API request - {"command":"BeginSignIn","jsonCode":200,"requestID":"86d747edee044d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"BeginSignIn"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [info] [Onyx] merge called for key: credentials properties: login hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: account properties: validated,primaryLogin,hasEmailDeliveryFailure,isSAMLEnabled,isSAMLRequired hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: preferredTheme hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: account properties: isLoading,loadingForm hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: credentials properties: validateCode hasChanged: false - ""
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] Called API write - {"command":"SigninUser","twoFactorAuthCode":"","email":"ericwdev001+240401@gmail.com","preferredLocale":"en","deviceInfo":"{\"appVersion\":\"1.4.57-2\",\"timestamp\":\"2024-04-01T08:41:56\",\"deviceName\":\"Emulator - Apple iPhone 15\",\"osVersion\":\"17.2\",\"os\":\"iOS\",\"deviceID\":\"iPhone15,4_A503C287-4284-4B51-B423-340A5E162B99\"}","validateCode":"168480"}
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties: 0 hasChanged: true - ""
 DEBUG  [info] Making API request - {"command":"SigninUser"}
 DEBUG  [info] [Onyx] merge called for key: account properties: errors,success,isLoading,loadingForm hasChanged: true - ""
 DEBUG  [info] Finished API request - {"command":"SigninUser","jsonCode":200,"requestID":"86d748736cc14d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"SigninUser"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: shouldShowComposeInput hasChanged: false - ""
 DEBUG  [info] [Onyx] set called for key: betas properties: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: session properties: authToken,accountID,email,encryptedAuthToken,authTokenType hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: credentials properties: autoGeneratedLogin,autoGeneratedPassword,validateCode hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: account properties: primaryLogin,requiresTwoFactorAuth,isLoading,loadingForm hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: user properties: isUsingExpensifyCard hasChanged: true - ""
 DEBUG  [info] [NetworkConnection] listenForReconnect called - ""
 DEBUG  Timing:development.new.expensify.homepage_initial_render 65
 DEBUG  [info] Navigating to route - {"path":"/home"}
 DEBUG  [warn] openWorkspace invalid params - {"clientMemberAccountIDs":[]}
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - ""
 DEBUG  [info] Called API write - {"command":"OpenApp","enablePriorityModeFilter":true,"policyIDList":[]}
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties: 0 hasChanged: true - ""
 DEBUG  [info] Making API request - {"command":"OpenApp"}
 DEBUG  [info] [Onyx] merge called for key: isLoadingApp hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: isLoadingReportData hasChanged: true - ""
 DEBUG  [info] Previous log requestID - {"requestID":"86d74882db894d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [hmmm] [PusherConnectionManager] state change - {"states":{"previous":"connecting","current":"connected"}}
 DEBUG  [hmmm] [PusherConnectionManager] state change - {"states":{"previous":"connecting","current":"connected"}}
 DEBUG  [hmmm] [PusherConnectionManager] connected event - ""
 DEBUG  [hmmm] [PusherConnectionManager] connected event - ""
 DEBUG  [info] [Pusher] Attempting to subscribe to channel - {"channelName":"private-encrypted-user-accountID-16577776","eventName":"multipleEvents"}
 DEBUG  [info] [PusherAuthorizer] Attempting to authorize Pusher - {"channelName":"private-encrypted-user-accountID-16577776"}
 DEBUG  [info] Called API makeRequestWithSideEffects - {"command":"AuthenticatePusher","socket_id":"689947.1150884","channel_name":"private-encrypted-user-accountID-16577776","shouldRetry":false,"forceNetworkRequest":true}
 DEBUG  [info] Making API request - {"command":"AuthenticatePusher"}
 DEBUG  [info] Finished API request - {"command":"AuthenticatePusher","jsonCode":200,"requestID":"86d7488808554d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"AuthenticatePusher"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] [PusherAuthorizer] Pusher authenticated successfully - {"channelName":"private-encrypted-user-accountID-16577776"}
 DEBUG  [info] [Onyx] merge called for key: network properties: timeSkew hasChanged: true - ""
 DEBUG  [info] Finished API request - {"command":"OpenApp","jsonCode":200,"requestID":"86d748813a274d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 226916919 - {"command":"OpenApp"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [info] [Onyx] merge called for key: OnyxUpdatesLastUpdateIDAppliedToClient hasChanged: true - ""
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: frequentlyUsedEmojis properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: loginList properties: ericwdev001+240401@gmail.com hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: betas properties: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 hasChanged: false - ""
 DEBUG  [info] [Onyx] set called for key: private_blockedFromChat hasChanged: true - ""
 DEBUG  [info] [Onyx] mergeCollection() called with invalid or empty value. Skipping this update. - ""
 DEBUG  [info] [Onyx] set called for key: policyMembers_F9C5C7E8D2206859 properties: 16577776 hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: policyCategories_F9C5C7E8D2206859 properties: Advertising,Benefits,Car,Equipment,Fees,Home Office,Insurance,Interest,Labor,Maintenance,Materials,Meals and Entertainment,Office Supplies,Other,Professional Services,Rent,Taxes,Travel,Utilities hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: policyTags_F9C5C7E8D2206859 properties: Tag hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: cardList properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] mergeCollection() called with invalid or empty value. Skipping this update. - ""
 DEBUG  [info] [Onyx] merge called for key: user properties: isFromPublicDomain,isSubscribedToNewsletter,validated,isUsingExpensifyCard hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_preferredLocale hasChanged: false - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_priorityMode hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: personalDetailsList properties: 8392101,11665625,16577776 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: account properties: requiresTwoFactorAuth,guideCalendarLink,doesDomainHaveApprovedAccountant,activePolicyID,dismissedReferralBanners hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_quickActionGlobalCreate properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: isLoadingReportData hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: isLoadingApp hasChanged: true - ""
 DEBUG  [info] Called API write - {"command":"UpdateAutomaticTimezone","timezone":"{\"selected\":\"Asia/Singapore\",\"automatic\":true}"}
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties: 0 hasChanged: true - ""
 DEBUG  [info] Making API request - {"command":"UpdateAutomaticTimezone"}
 DEBUG  [info] [Onyx] merge called for key: personalDetailsList properties: 16577776 hasChanged: false - ""
 DEBUG  [info] [Onyx] merge called for key: currencyList properties: AED,AFN,ALL,AMD,ANG,AOA,ARS,AUD,AWG,AZN,BAM,BBD,BDT,BGN,BHD,BIF,BMD,BND,BOB,BRL,BSD,BTN,BWP,BYN,BYR,BZD,CAD,CDF,CHF,CLP,CNY,COP,CRC,CUC,CUP,CVE,CZK,DJF,DKK,DOP,DZD,EEK,EGP,ERN,ETB,EUR,FJD,FKP,GBP,GEL,GHS,GIP,GMD,GNF,GTQ,GYD,HKD,HNL,HRK,HTG,HUF,IDR,ILS,INR,IQD,IRR,ISK,JMD,JOD,JPY,KES,KGS,KHR,KMF,KPW,KRW,KWD,KYD,KZT,LAK,LBP,LKR,LRD,LSL,LTL,LVL,LYD,MAD,MDL,MGA,MKD,MMK,MNT,MOP,MRO,MRU,MUR,MVR,MWK,MXN,MYR,MZN,NAD,NGN,NIO,NOK,NPR,NZD,OMR,PAB,PEN,PGK,PHP,PKR,PLN,PYG,QAR,RON,RSD,RUB,RWF,SAR,SBD,SCR,SDG,SEK,SGD,SHP,SLL,SOS,SRD,STD,STN,SVC,SYP,SZL,THB,TJS,TMT,TND,TOP,TRY,TTD,TWD,TZS,UAH,UGX,USD,UYU,UZS,VEB,VEF,VES,VND,VUV,WST,XAF,XCD,XOF,XPF,YER,ZAR,ZMK,ZMW hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_lastECashIODLoginVersion hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_unit_widget hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_fixAccountDate hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_frequentlyUsedEmojis properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_migration_2017_12_27_CreateJobForClearbitName hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_receiptOCR hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_lastIP hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_lastECashIOSLogin hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_billing_country hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_preferredEmojiSkinTone hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_blockedFromConcierge properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_prioritySmartScanReceipts hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_unit_hour hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_lastPaymentMethod properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_pushNotificationID hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_createdBy hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_activePolicyID hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_minimumAuthTokenIssueTime hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_expensify_chat_pinnedReportIDs properties: 0 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_blockedFromChat hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_referer hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_tryNewDot properties: classicRedirect hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_throttleAttempts_resendValidateCode properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_expensifyCredits hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_loginDevice_expensify.cash-iphone15,4_a503c287-4284-4b51-b423-340a5e162b99 properties: appVersion,app_version,deviceID,deviceName,device_name,os,osVersion,os_version,timestamp hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_private_temporaryPasswordlessLogins properties: 0 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_lastPaymentMethod properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_isFirstTimeNewExpensifyUser hasChanged: true - ""
 DEBUG  [info] Navigating to route - {"path":"/onboard"}
 DEBUG  [info] [Onyx] merge called for key: modal properties: isVisible hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: isFirstTimeNewExpensifyUser hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: preferredLocale hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: paypal properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: preferredEmojiSkinTone hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: private_pushNotificationID hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: private_blockedFromConcierge properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: countryCode hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: country hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: policy_F9C5C7E8D2206859 properties: isFromFullPolicy,id,name,role,type,owner,ownerAccountID,outputCurrency,avatarURL,avatar,employeeList,isPolicyExpenseChatEnabled,lastModified,chatReportIDAnnounce,chatReportIDAdmins,areCategoriesEnabled,areTagsEnabled,areDistanceRatesEnabled,areWorkflowsEnabled,areConnectionsEnabled,tax,approvalMode,approver,approverAccountID,autoReporting,autoReportingFrequency,autoReportingOffset,customUnits,defaultBillable,description,disabledFields,fieldList,harvesting,hasMultipleTagLists,preventSelfApproval,reimburserAccountID,requiresCategory,requiresTag,submitsTo hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: private_personalDetails properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: bankAccountList properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: userWallet properties: availableBalance,bankAccountID,currentBalance,currentStep,hasAcceptedTerms,hasFailedOnfido,isPendingOnfidoResult,remainingWalletLimit,state,tier,tierName,walletLimit,walletLimitEnforcementPeriod,walletLinkedAccountID,walletLinkedAccountType hasChanged: true - ""
 DEBUG  [info] [PushNotification] Subscribing to notifications - ""
 DEBUG  [info] [Onyx] set called for key: isSidebarLoaded hasChanged: true - ""
 DEBUG  [info] [PushNotification] Push notification opt-in status changed. - {"isOptedIn":true}
 DEBUG  [info] Called API write - {"command":"OptInToPushNotifications","deviceID":"iPhone15,4_A503C287-4284-4B51-B423-340A5E162B99"}
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties: 0,1 hasChanged: true - ""
 DEBUG  [info] [Report] Handled multipleEvents event sent by Pusher - {"updates":[{"data":[{"key":"policy_F9C5C7E8D2206859","onyxMethod":"merge","value":{"customUnits":{"660a733fc799d":{"rates":{"660a733fc79ab":{"rate":67}}}}}},{"key":"policy_F9C5C7E8D2206859","onyxMethod":"merge","value":{"harvesting":{"jobID":5985980395775986000}}},{"key":"policy_F9C5C7E8D2206859","onyxMethod":"merge","value":{"maxExpenseAge":10000000000}},{"key":"policy_F9C5C7E8D2206859","onyxMethod":"merge","value":{"maxExpenseAmount":10000000000}},{"key":"policy_F9C5C7E8D2206859","onyxMethod":"merge","value":{"maxExpenseAmountNoReceipt":10000000000}}],"eventType":"onyxApiUpdate"}],"lastUpdateID":226916919,"previousUpdateID":226916908}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: pusher with lastUpdateID: 226916919 - {}
 DEBUG  [info] [OnyxUpdateManager] Update received was older than or the same as current state, returning without applying the updates other than successData and failureData - ""
 DEBUG  [info] [Onyx] merge called for key: pushNotificationsEnabled hasChanged: true - ""
 DEBUG  [info] Previous log requestID - {"requestID":"86d748921b534d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] Finished API request - {"command":"UpdateAutomaticTimezone","jsonCode":200,"requestID":"86d7488fa8dc4d21-SIN"}
 DEBUG  [info] [Onyx] set called for key: onyxUpdatesFromServer properties: type,lastUpdateID,previousUpdateID,request,response hasChanged: true - ""
 DEBUG  [SequentialQueue] Pausing the queue
 DEBUG  [OnyxUpdateManager] Client is behind the server by 17 so fetching incremental updates
 DEBUG  [info] Gap detected in update IDs from server so fetching incremental updates - {"lastUpdateIDFromServer":226916938,"previousUpdateIDFromServer":226916936,"lastUpdateIDAppliedToClient":226916919}
 DEBUG  [OnyxUpdates] Fetching missing updates updateIDFrom: 226916919 and updateIDTo: 226916936
 DEBUG  [info] Called API makeRequestWithSideEffects - {"command":"GetMissingOnyxMessages","updateIDFrom":226916919,"updateIDTo":226916936}
 DEBUG  [info] Making API request - {"command":"GetMissingOnyxMessages"}
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties: 0 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: isLoadingReportData hasChanged: true - ""
 DEBUG  [info] Finished API request - {"command":"GetMissingOnyxMessages","jsonCode":200,"requestID":"86d748990a714d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 226916936 - {"command":"GetMissingOnyxMessages"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [info] [Onyx] merge called for key: OnyxUpdatesLastUpdateIDAppliedToClient hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: nvp_isFirstTimeNewExpensifyUser hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: isLoadingReportData hasChanged: true - ""
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 226916938 - {"command":"UpdateAutomaticTimezone"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [info] [Onyx] merge called for key: OnyxUpdatesLastUpdateIDAppliedToClient hasChanged: true - ""
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [OnyxUpdateManager] Done applying all updates
 DEBUG  [info] [Onyx] set called for key: onyxUpdatesFromServer hasChanged: true - ""
 DEBUG  [SequentialQueue] Unpausing the queue and flushing 1 requests
 DEBUG  [info] [Onyx] merge called for key: personalDetailsList properties: 16577776 hasChanged: false - ""
 DEBUG  [info] Making API request - {"command":"OptInToPushNotifications"}
 DEBUG  [info] Previous log requestID - {"requestID":"86d7489ebfd54d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] Previous log requestID - {"requestID":"86d7489ebfd34d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] Finished API request - {"command":"OptInToPushNotifications","jsonCode":200,"requestID":"86d748a009124d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"OptInToPushNotifications"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties:  hasChanged: true - ""
 DEBUG  [info] Called API write - {"command":"SetNameValuePair","name":"nvp_hasDismissedIdlePanel","value":true}
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties: 0 hasChanged: true - ""
 DEBUG  [info] Navigating to route - {"path":"/home"}
 DEBUG  [info] Making API request - {"command":"SetNameValuePair"}
 DEBUG  [info] [Onyx] merge called for key: modal properties: isVisible,willAlertModalBecomeVisible,isPopover hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: nvp_hasDismissedIdlePanel hasChanged: true - ""
 DEBUG  [info] Finished API request - {"command":"SetNameValuePair","jsonCode":200,"requestID":"86d748b6df2c4d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"SetNameValuePair"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] [Onyx] set called for key: networkRequestQueue properties:  hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: modal properties: willAlertModalBecomeVisible,isPopover hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: modal properties: isVisible hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: modal properties: willAlertModalBecomeVisible,isPopover,isVisible hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: policyDrafts_8FEA7105EC8A9F23 properties: id,type,name,role,owner,ownerAccountID,isPolicyExpenseChatEnabled,outputCurrency,pendingAction,customUnits,makeMeAdmin hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: policyMembersDrafts_8FEA7105EC8A9F23 properties: 16577776 hasChanged: true - ""
 DEBUG  [info] Navigating to route - {"path":"/settings"}
 DEBUG  [info] Called API makeRequestWithSideEffects - {"command":"OpenInitialSettingsPage"}
 DEBUG  [info] Making API request - {"command":"OpenInitialSettingsPage"}
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - ""
 DEBUG  [info] Finished API request - {"command":"OpenInitialSettingsPage","jsonCode":200,"requestID":"86d74a0398cf4d21-SIN"}
 DEBUG  [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"OpenInitialSettingsPage"}
 DEBUG  [OnyxUpdateManager] Applying https update
 DEBUG  [info] [Onyx] merge called for key: userWallet properties: availableBalance,bankAccountID,currentBalance,currentStep,hasAcceptedTerms,hasFailedOnfido,isPendingOnfidoResult,remainingWalletLimit,state,tier,tierName,walletLimit,walletLimitEnforcementPeriod,walletLinkedAccountID,walletLinkedAccountType hasChanged: false - ""
 DEBUG  [OnyxUpdateManager] Done applying HTTPS update
 DEBUG  [info] Navigating to route - {"path":"/settings/about"}
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - ""
 DEBUG  [info] Navigating to route - {"path":"/settings/troubleshoot"}
 DEBUG  [info] [Onyx] merge called for key: modal properties: isVisible hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - ""
 DEBUG  [info] [Onyx] set called for key: shouldStoreLogs hasChanged: true - ""
 DEBUG  [info] Navigating to route - {"path":"/settings/troubleshoot/console"}
 DEBUG  [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001420,1711961001459 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001618 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001619 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001619 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001620 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001620 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001620 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001621 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001621 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001622 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001623 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001623 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001624 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001625 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001625 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001626 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001626 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001627 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001627 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001629 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001630 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001630 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001631 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001631 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001632 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001632 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001633 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001633 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001634 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001634 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001635 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001635 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001635 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001636 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001636 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001637 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001637 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001638 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001639 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001640 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001640 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001641 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001641 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001642 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001642 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001643 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001643 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001644 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001644 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001645 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001645 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001646 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001647 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001653 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001654 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001655 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001656 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001656 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001658 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001658 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001659 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001660 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001660 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001661 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001661 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001662 hasChanged: true - ""
 DEBUG  [info] [Onyx] merge called for key: logs properties: 1711961001663 hasChanged: true - ""

cc @hurali97 @mountiny

@hurali97
Copy link
Contributor Author

hurali97 commented Apr 2, 2024

@eh2077 @mountiny The issue with New workspaces not opening on iOS is already fixed by this PR. We only need to sync with main.

@hurali97
Copy link
Contributor Author

hurali97 commented Apr 2, 2024

@eh2077 @mountiny For endless loop of logs, it only happens on onyx@2.0.23 while onyx@2.0.22 works fine. I will now locate what's the specific commit that introduced this endless loop.

@mountiny
Copy link
Contributor

mountiny commented Apr 2, 2024

Thank you @hurali97

@hurali97
Copy link
Contributor Author

hurali97 commented Apr 2, 2024

For endless loop of logs, this PR introduced a change which affects the debug console. Prior to this commit, we have debug console working as expected. Also, I have verified by commenting out the changes introduced by this PR and the issue doesn't reproduce.

We might need to get in touch with the PR author.

@hurali97
Copy link
Contributor Author

hurali97 commented Apr 2, 2024

@mountiny Apart from this, should I go ahead and sync this PR with main, so that we have workspace issue fixed?

@mountiny
Copy link
Contributor

mountiny commented Apr 2, 2024

Asking about the best next steps here, the problem is that if we would fix this in onyx, we would add another two PRs which were not QAed completely so we could introduce some other issue

@mountiny
Copy link
Contributor

mountiny commented Apr 2, 2024

@hurali97 Could you please apply this diff from Marc from Slack to fix the debug issue?

@@ -24,7 +24,7 @@ Onyx.connect({
const originalConsoleLog = console.log;

/* List of patterns to ignore in logs. "logs" key always needs to be ignored because otherwise it will cause infinite loop */
const logPatternsToIgnore = [`merge() called for key: ${ONYXKEYS.LOGS}`];
const logPatternsToIgnore = [`merge called for key: ${ONYXKEYS.LOGS}`];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noting this log line got changed in onyx hence this change

Copy link
Contributor

@mountiny mountiny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, waiting for a checklist from c+

Copy link
Contributor

@eh2077 eh2077 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified tests pass on all platforms & I tested again on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
    • MacOS: Desktop
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari web
MacOS: Desktop desktop

@melvin-bot melvin-bot bot requested a review from mountiny April 3, 2024 15:46
@eh2077
Copy link
Contributor

eh2077 commented Apr 3, 2024

Looks good and tested well. @mountiny All yours!

Copy link
Contributor

@mountiny mountiny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets go with this, thanks everyone!

@OSBotify
Copy link
Contributor

OSBotify commented Apr 8, 2024

🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.61-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 cancelled 🔪
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

OSBotify commented Apr 8, 2024

🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.61-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.61-8 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.