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 2024-11-14] [HOLD for payment 2024-11-13] [$250] Bank account - App crashes when connecting to bank account #51961
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.0.57-0 Reproducible in staging?: Y Reproducible in production?: N Email or phone of affected tester (no customers):applausetester+kh22100010ad@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Go to staging.new.expensify.com
Go to Workspace settings > Workflows.
Click Connect bank account.
Click Update to USD.
Expected Result:
App will not crash when connecting to bank account.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
I also see this bug today. But I don't understand why this bug happens after reverting #51315. TBH, #51315 fix another bug and we already reverted by #51857. Anyone help to investigate why this bug doesn't happen before merging #51315
1a. Result of the original design (eg. a case wasn't considered)
1b. Mistake during implementation
1c. Backend bug
1z. Other:
Where bug was reported:
2a. Reported on production
2b. Reported on staging (deploy blocker)
2c. Reported on both staging and production
2d. Reported on a PR
2z. Other:
Who reported the bug:
3a. Expensify user
3b. Expensify employee
3c. Contributor
3d. QA
3z. Other:
[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:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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.
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Nov 4, 2024
Triggered auto assignment to @muttmuure (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Nov 4, 2024
Triggered auto assignment to @blimpich (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Nov 4, 2024
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Nov 4, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
nkdengineer commentedon Nov 4, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
App crashes when connecting to bank account.
What is the root cause of that problem?
we have this error
Cannot access 'hasInProgressVBBA' before initializationWhat changes do you think we should make in order to solve the problem?
We should move function
hasInProgressVBBAto above place where we define the stateshouldShowContinueSetupButtonhereApp/src/pages/ReimbursementAccount/ReimbursementAccountPage.tsx
Lines 192 to 194 in b87ec1f
What alternative solutions did you explore? (Optional)
andriivitiv commentedon Nov 4, 2024
Edited by proposal-police: This proposal was edited at 2024-11-04 16:51:33 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Bank account - App crashes when connecting to bank account
What is the root cause of that problem?
Long time ago 98b1256 moved the call to
getShouldShowContinueSetupButtonInitialValue()above the place where the function is defined.It was moved back in #51315 but it recently got reverted by #51857.
The PR after which this crash started to occur is #51718. It changed
to
I think this caused the compiler to generate a different lowered code. The following code seems to prevent the crash
What changes do you think we should make in order to solve the problem?
Move this functions a few lines up before the call to
getShouldShowContinueSetupButtonInitialValue()App/src/pages/ReimbursementAccount/ReimbursementAccountPage.tsx
Lines 183 to 206 in 657531f
Also avoid calling it again on every render
DylanDylann commentedon Nov 4, 2024
I also see this bug today. But I don't understand why this bug happens after reverting #51315. TBH, #51315 fix another bug and we already reverted by #51857. Anyone help to investigate why this bug doesn't happen before merging #51315
47 remaining items
melvin-bot commentedon Nov 18, 2024
@blimpich, @CyberAndrii, @muttmuure, @DylanDylann Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
DylanDylann commentedon Nov 19, 2024
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[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:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: https://expensify.slack.com/archives/C01GTK53T8Q/p1730736248203919
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Test:
Do we agree 👍 or 👎
melvin-bot commentedon Nov 20, 2024
@blimpich, @CyberAndrii, @muttmuure, @DylanDylann Eep! 4 days overdue now. Issues have feelings too...
muttmuure commentedon Nov 20, 2024
@CyberAndrii - $250 for C
@DylanDylann - $250 for C+
melvin-bot commentedon Nov 26, 2024
@blimpich, @CyberAndrii, @muttmuure, @DylanDylann Huh... This is 4 days overdue. Who can take care of this?
muttmuure commentedon Nov 26, 2024
This is paid up and regression test created