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

[HOLD for payment 2022-12-05] [$500] Bug: DEV - [iOS] dev console error on app launch reported by @aimane-chnaif #12152

Closed
kavimuru opened this issue Oct 26, 2022 · 53 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@kavimuru
Copy link

kavimuru commented Oct 26, 2022

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open the app

Expected Result:

No console error

Actual Result:

Console error: Warning: RCTBridge required dispatch_sync to load REAModule. This may lead to deadlocks

Workaround:

unknown

Platform:

Where is this issue occurring?

  • iOS

Version Number: v1.2.19-2
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs reproduction
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
Issue reported by: @aimane-chnaif
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1666759616071549

View all open jobs on GitHub

@kavimuru kavimuru added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. labels Oct 26, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 26, 2022

Triggered auto assignment to @MitchExpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Oct 26, 2022
@kavimuru kavimuru changed the title Bug: DEV - [iOS] dev console error on app launch reported by @adeel0202 Bug: DEV - [iOS] dev console error on app launch reported by @aimane-chnaif Oct 26, 2022
@dhairyasenjaliya
Copy link
Contributor

Proposal

file : REAModule.mm


#ifdef RCT_NEW_ARCH_ENABLED
+ (BOOL)requiresMainQueueSetup
{
  return YES;
}
#endif // RCT_NEW_ARCH_ENABLED

Result fix

Issue

@MitchExpensify
Copy link
Contributor

How do you pull up the console warning screen? Trying to reproduce

@melvin-bot
Copy link

melvin-bot bot commented Oct 31, 2022

@MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Oct 31, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 31, 2022

@MitchExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@MitchExpensify
Copy link
Contributor

Hey @kavimuru, mind helping me with this question?: How do you pull up the console warning screen?

Thanks!

@melvin-bot melvin-bot bot removed the Overdue label Oct 31, 2022
@kavimuru
Copy link
Author

kavimuru commented Nov 1, 2022

@MitchExpensify I can't check Dev only issue. So I added Needs reproduction label. @aimane-chnaif can clarify your question.

@aimane-chnaif
Copy link
Contributor

@MitchExpensify
Copy link
Contributor

@aimane-chnaif How exactly do I pull up the console warning screen?

@aimane-chnaif
Copy link
Contributor

reproduce.step.mp4

cc: @MitchExpensify

@MitchExpensify
Copy link
Contributor

MitchExpensify commented Nov 2, 2022

Sorry, I'm asking how you pull up that console warning as I am not sure when trying to reproduce @aimane-chnaif

@michaelhaxhiu
Copy link
Contributor

Hey @MitchExpensify, just dropping a note as a reminder to keep the pressure on finding a contributor and get this one closed out.

PS whatever you learn from this about the "console" question let's post in Stack Overflow for the future. I don't remember the answer myself (and I'm sure I asked before too 😨)

@michaelhaxhiu
Copy link
Contributor

Just bumped the associated slack thread to make sure we have movement!

@melvin-bot melvin-bot bot added the Overdue label Nov 7, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 8, 2022

@MitchExpensify Huh... This is 4 days overdue. Who can take care of this?

@MitchExpensify
Copy link
Contributor

Asked for help reproducing in #contributor-plus

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 8, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 14, 2022

@MitchExpensify Huh... This is 4 days overdue. Who can take care of this?

@MitchExpensify MitchExpensify added the External Added to denote the issue can be worked on by a contributor label Nov 14, 2022
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Nov 28, 2022
@melvin-bot melvin-bot bot changed the title [$500] Bug: DEV - [iOS] dev console error on app launch reported by @aimane-chnaif [HOLD for payment 2022-12-05] [$500] Bug: DEV - [iOS] dev console error on app launch reported by @aimane-chnaif Nov 28, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 28, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.32-2 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 2022-12-05. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Nov 28, 2022

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:

@MitchExpensify
Copy link
Contributor

Made a note to pay on 2022-12-05

@MitchExpensify
Copy link
Contributor

@isagoico Regarding the addition of a regression test, I'm curious if you think a new section for console errors (I don't see one) or adding to the existing login tests makes more sense

@trjExpensify trjExpensify removed the Needs Reproduction Reproducible steps needed label Dec 1, 2022
@isagoico
Copy link

isagoico commented Dec 2, 2022

We could ask the testers that to execute the Web tests with the js console open to review if there are any JS errors in all tests. What do you think?

@MitchExpensify
Copy link
Contributor

Asked in Slack here

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 5, 2022
@MitchExpensify
Copy link
Contributor

Bumped

@MitchExpensify
Copy link
Contributor

All payments made! Thanks everyone

@MitchExpensify
Copy link
Contributor

@eVoloshchak / @Luke9389 - Curious which PR might have introduced this.

@MitchExpensify
Copy link
Contributor

Not adding a regression test for console errors seeing as they should be caught in the PR checklists

@eVoloshchak
Copy link
Contributor

@eVoloshchak / @Luke9389 - Curious which PR might have introduced this.

This bug was introduced by an external library (react-native-reanimated), judging by this comment, PR that caused this is software-mansion/react-native-reanimated#3555

@MitchExpensify
Copy link
Contributor

MitchExpensify commented Dec 5, 2022

Nice, thanks @eVoloshchak !

@eVoloshchak / @Luke9389 mind completing the other checks here and we can close this out once done?

@melvin-bot
Copy link

melvin-bot bot commented Dec 8, 2022

@eVoloshchak, @MitchExpensify, @dhairyasenjaliya, @Luke9389 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Dec 8, 2022
@MitchExpensify
Copy link
Contributor

Bump on the checks @eVoloshchak & @Luke9389

@melvin-bot melvin-bot bot removed the Overdue label Dec 8, 2022
@eVoloshchak
Copy link
Contributor

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:

This wasn't caused by PR in our codebase, so not applicable I guess

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:

We already have the following checklist item: 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), this should have caught the warning

@MitchExpensify
Copy link
Contributor

Thank you! If you agree @Luke9389 I think we can close this out

@melvin-bot melvin-bot bot added the Overdue label Dec 12, 2022
@MitchExpensify
Copy link
Contributor

Actually, lets just reopen if you disagree @Luke9389 :)

I think we're good here and I'm heading ooo tomorrow so looking to square this off

@Luke9389
Copy link
Contributor

Perfect thanks! I was OOO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests