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 2024-05-22] Login - 'Another login page is open' briefly displayed when refresh the page #42062

Closed
1 of 6 tasks
m-natarajan opened this issue May 13, 2024 · 21 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 Engineering

Comments

@m-natarajan
Copy link

m-natarajan commented May 13, 2024

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: 1.4.73-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

  1. Enter the email on the email field and continue
  2. Click on "Go Back"
  3. Refresh the page

Expected Result:

No 'Another login page is open' is displayed

Actual Result:

'Another login page is open' briefly displayed

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6479253_1715600330476.bandicam_2024-05-13_14-30-48-787.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @miljakljajic
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels May 13, 2024
Copy link

melvin-bot bot commented May 13, 2024

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

Copy link

melvin-bot bot commented May 13, 2024

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open Staging deploy checklist to see the list of PRs included in this release, then work quickly on the following:

  1. If you find which PR caused the issue/bug, you can reassign it to the person responsible for it.
    • If the author is OOO or won’t get online before the daily deploy is due, you are responsible for finding the best fix/path forward. Don’t hesitate to ask for help!
  2. Try to reproduce the issue, if the bug is on production, remove the DeployBlocker label but stay assigned to fix it (or find out which PR broke it to get help from the author).
    • You can adjust the urgency of the issue to better represent the gravity of the bug.
    • If the issue is super low priority, feel free to un-assign yourself.
    • Be careful with PHP warnings, sometimes it is more complex than just adding a null coalescing operator as they might be uncovering some bigger bug.
    • If it was a one-off issue that requires no action (for example, Bedrock was down or it is a duplicated issue), you can close it.

Remember rule #2: Never un-assign yourself from a real DeployBlocker unless you are 100% sure someone else is assigned and will take care of it.

Copy link

melvin-bot bot commented May 13, 2024

Triggered auto assignment to @miljakljajic (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 melvin-bot bot removed the Hourly KSv2 label May 13, 2024
@github-actions github-actions bot added Hourly KSv2 and removed Daily KSv2 labels May 13, 2024
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.

@m-natarajan
Copy link
Author

@miljakljajic FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@amyevans
Copy link
Contributor

I confirmed that the bug is coming from #40997 by commenting out this line locally:

window.addEventListener('beforeunload', cleanUpClientId);

I'll leave it to you @tgolen though to decide if it's better to revert the PR or just handle this bug as a follow up. Thanks!

@tgolen
Copy link
Contributor

tgolen commented May 13, 2024

Thanks for the initial investigation! I don't think this needs to be a blocker.

@tgolen tgolen removed the DeployBlockerCash This issue or pull request should block deployment label May 13, 2024
@Skakruk
Copy link
Contributor

Skakruk commented May 13, 2024

@tgolen I guess, we can add a flag, that client is in progress of cleaning its ID from active clients list and return true for isClientTheLeader in this case.

@bondydaa
Copy link
Contributor

@tgolen can you also make sure to remove the Web DeployBlocker as well (I guess we've started add 2 blocker labels)

@bondydaa bondydaa removed the DeployBlocker Indicates it should block deploying the API label May 13, 2024
@tgolen
Copy link
Contributor

tgolen commented May 13, 2024

@Skakruk OK, that sounds like a good idea.

@Skakruk
Copy link
Contributor

Skakruk commented May 13, 2024

@tgolen should I create a new PR, following the whole flow?

@tgolen
Copy link
Contributor

tgolen commented May 13, 2024

Yes, please.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels May 13, 2024
@Skakruk
Copy link
Contributor

Skakruk commented May 13, 2024

@tgolen here is the PR #42095

Copy link

melvin-bot bot commented May 14, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 15, 2024
@melvin-bot melvin-bot bot changed the title Login - 'Another login page is open' briefly displayed when refresh the page [HOLD for payment 2024-05-22] Login - 'Another login page is open' briefly displayed when refresh the page May 15, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 15, 2024
Copy link

melvin-bot bot commented May 15, 2024

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

Copy link

melvin-bot bot commented May 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.73-7 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 2024-05-22. 🎊

Copy link

melvin-bot bot commented May 15, 2024

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:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels May 21, 2024
Copy link

melvin-bot bot commented May 22, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@melvin-bot melvin-bot bot added the Overdue label May 23, 2024
@miljakljajic
Copy link
Contributor

Can we close?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 24, 2024
Copy link

melvin-bot bot commented May 27, 2024

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

@ishpaul777
Copy link
Contributor

ishpaul777 commented May 29, 2024

hey @miljakljajic, I reviewed the PR for this one Can we please reopen for payment?

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

No branches or pull requests

7 participants