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 2025-02-05] [HOLD for payment 2025-02-04] [$250] Desktop - App auto relogins after signing out #55681

Closed
1 of 8 tasks
mitarachim opened this issue Jan 23, 2025 · 23 comments · May be fixed by #55966
Closed
1 of 8 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@mitarachim
Copy link

mitarachim commented Jan 23, 2025

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.89-2
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Other

Action Performed:

  1. Launch New Expensify desktop app.
  2. Log out if logged in.
  3. Log in to New Expensify on Chrome.
  4. After login, refresh the page on Chrome.
    5.Click Open New Expensify.
  5. On desktop app, sign out.

Expected Result:

App will open login page after sign out.

Actual Result:

App auto relogins with the same account and user cannot sign out.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6722224_1737670524844.20250124_061149.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021883976990346427036
  • Upwork Job ID: 1883976990346427036
  • Last Price Increase: 2025-01-27
Issue OwnerCurrent Issue Owner: @isabelastisser
@mitarachim mitarachim added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 DeployBlockerCash This issue or pull request should block deployment labels Jan 23, 2025
Copy link

melvin-bot bot commented Jan 23, 2025

Triggered auto assignment to @AndrewGable (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Jan 23, 2025

Triggered auto assignment to @isabelastisser (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.

Copy link

melvin-bot bot commented Jan 23, 2025

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Jan 23, 2025
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@AndrewGable
Copy link
Contributor

Not seeing any recent PRs or commits that stick out for the sign out button

@AndrewGable
Copy link
Contributor

@mitarachim - If you do not click "Open In New Expensify", what link does it bring you to?

@AndrewGable
Copy link
Contributor

Hmm I am having a hard time reproducing this, can you try @isabelastisser ?

Google.Chrome.2025-01-24.at.11.35.22.mp4

@melvin-bot melvin-bot bot added the Overdue label Jan 27, 2025
@mountiny
Copy link
Contributor

@izarutskaya
Copy link

Issue is still reproducible

-8214185883373436546v9.0.89-5.mp4

@AndrewGable
Copy link
Contributor

Ok I can reproduce now

@melvin-bot melvin-bot bot removed the Overdue label Jan 27, 2025
@yuwenmemon yuwenmemon added the External Added to denote the issue can be worked on by a contributor label Jan 27, 2025
Copy link

melvin-bot bot commented Jan 27, 2025

Job added to Upwork: https://www.upwork.com/jobs/~021883976990346427036

@melvin-bot melvin-bot bot changed the title Desktop - App auto relogins after signing out [$250] Desktop - App auto relogins after signing out Jan 27, 2025
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 27, 2025
Copy link

melvin-bot bot commented Jan 27, 2025

Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 (External)

@AndrewGable
Copy link
Contributor

@yuwenmemon bisected this to

dea4b7cae217fad607b00d6963ad43fd659c625e is the first bad commit
commit dea4b7cae217fad607b00d6963ad43fd659c625e
Author: Wojciech Boman <[email protected]>
Date:   Tue Jan 21 14:49:22 2025 +0100

    Add hooks for lastOpenedPublicRoomID and initialLastUpdateIDAppliedToClient in AuthScreens

 src/libs/Navigation/AppNavigator/AuthScreens.tsx | 56 ++++++++++++++++--------
 1 file changed, 38 insertions(+), 18 deletions(-)

From this PR: #55528

I am working on the revert now.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 27, 2025
@melvin-bot melvin-bot bot changed the title [$250] Desktop - App auto relogins after signing out [HOLD for payment 2025-02-04] [$250] Desktop - App auto relogins after signing out Jan 28, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 28, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jan 28, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.89-8 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 2025-02-04. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jan 28, 2025

@ahmedGaber93 @isabelastisser @ahmedGaber93 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@isabelastisser
Copy link
Contributor

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 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 (eg. bug slipped through the normal regression and PR testing process on staging)
  • 2b. Reported on staging (eg. found during regression or PR testing)
  • 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.

    Link to discussion:

  • [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.

Regression Test Proposal Template
  • [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

Precondition:

Test:

Do we agree 👍 or 👎

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jan 29, 2025
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2025-02-04] [$250] Desktop - App auto relogins after signing out [HOLD for payment 2025-02-05] [HOLD for payment 2025-02-04] [$250] Desktop - App auto relogins after signing out Jan 29, 2025
Copy link

melvin-bot bot commented Jan 29, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.90-6 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 2025-02-05. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jan 29, 2025

@ahmedGaber93 @isabelastisser @ahmedGaber93 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@yuwenmemon yuwenmemon removed the DeployBlockerCash This issue or pull request should block deployment label Jan 29, 2025
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 3, 2025
Copy link

melvin-bot bot commented Feb 5, 2025

Payment Summary

Upwork Job

BugZero Checklist (@isabelastisser)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1883976990346427036/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@melvin-bot melvin-bot bot added the Overdue label Feb 5, 2025
@isabelastisser
Copy link
Contributor

@AndrewGable, can you confirm if @ahmedGaber93 needs payment here? I reviewed the issue, and it looks like you and Yuwen worked on the PR without an external contributor.

@melvin-bot melvin-bot bot removed the Overdue label Feb 5, 2025
@ahmedGaber93
Copy link
Contributor

ahmedGaber93 commented Feb 5, 2025

@isabelastisser No payment for me here, It just a revert PR that doesn't require C+ review. And I think the new PR #55966 that re-applying the revert should be handed by the original issue #49103

@isabelastisser
Copy link
Contributor

Thanks for the context, @ahmedGaber93! Closing this.

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 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants