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

Stop call to Get&rvl=reportStuff with reportID = undefined #4139

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

marcaaron
Copy link
Contributor

@marcaaron marcaaron commented Jul 19, 2021

Details

Weird thing I came across on dev that should be fixed. Noticed a 2 second call to Get&returnValueList=reportStuff that was being called with a reportID of undefined and traced it to the IOU code. When we do not find an IOU reportID for any reason we are continuing to fetch the report. Which makes no sense + takes a significant amount of time to process.

Basically, we log this:

GetIOUReport returned a reportID of 0, not fetching IOU report data

And then go ahead and fetch it anyway which takes 2 seconds for some reason (production web server used)...

Screen Shot 2021-07-19 at 10 08 11 AM
2021-07-19_10-07-52

Fixed Issues

No issue. Just noticed on dev that this should be cleaned up.

Tests

QA Steps

Test IOU features for any possible regressions.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@marcaaron marcaaron requested a review from Julesssss July 19, 2021 20:05
@marcaaron marcaaron self-assigned this Jul 19, 2021
@marcaaron marcaaron requested a review from a team as a code owner July 19, 2021 20:05
@MelvinBot MelvinBot requested review from Luke9389 and removed request for a team July 19, 2021 20:05
@marcaaron marcaaron changed the title Stop call to Get=reportStuff with reportID = undefined Stop call to Get&rvl=reportStuff with reportID = undefined Jul 19, 2021
Copy link
Contributor

@Luke9389 Luke9389 left a comment

Choose a reason for hiding this comment

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

Nice catch

@Luke9389 Luke9389 merged commit b91a878 into main Jul 19, 2021
@Luke9389 Luke9389 deleted the marcaaron-reportStuff branch July 19, 2021 22:10
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging in version: 1.0.79-5🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to production in version: 1.0.80-2🚀

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants