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

[HybridApp] Update the force upgrade modal to distinguish between prod and staging environments. #52276

Open
trjExpensify opened this issue Nov 8, 2024 · 24 comments
Assignees
Labels
Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Overdue

Comments

@trjExpensify
Copy link
Contributor

trjExpensify commented Nov 8, 2024

Coming from here.
Parent issue

Problem

When we deprecate the NewDot standalone app, it causes us to not be able to test whether bugs are /app or /mobile, which prevents us from confirming if the issue can be external or internal.

Why is this important?

To protect internal engineering resources and maximise the use of our external contributors. This is also a blocker to deprecating the app, which increasingly causing more confusion amongst users.

Solution

  • Update the force upgrade modal to distinguish between staging and production environments.
  • Force upgrade production only, pointing the "Upgrade" CTA to the "Expensify" HybridApp listing in the app store.

In doing so, we can continue shipping NewDot standalone builds to staging environments (i.e Testflight) and maintain our ability to test for HybridApp only bugs.

Issue OwnerCurrent Issue Owner: @trjExpensify
@trjExpensify trjExpensify added Daily KSv2 Internal Requires API changes or must be handled by Expensify staff labels Nov 8, 2024
@trjExpensify trjExpensify self-assigned this Nov 8, 2024
@melvin-bot melvin-bot bot added the Overdue label Nov 11, 2024
@Julesssss Julesssss self-assigned this Nov 11, 2024
@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 11, 2024
@trjExpensify
Copy link
Contributor Author

Asking about next steps here. CC: @staszekscp

@melvin-bot melvin-bot bot removed the Overdue label Nov 13, 2024
@staszekscp
Copy link
Contributor

Just to confirm the scope of the task 😄 The desired behaviour is to:

  1. Present the Force upgrade modal to production users on NewDot, with a CTA to download HybridApp
  2. Distinguish production and staging on HybridApp (since we don't do it at the moment)

@trjExpensify
Copy link
Contributor Author

I don't think (2) is required for this issue. We need to force upgrade production users of the NewDot app, and keep shipping new builds to staging such that we can continue testing bugs to determine if they're HybridApp only or not.

@staszekscp
Copy link
Contributor

In this case I think we can take care of that when we'll align the HybridApp deployment to NewDot! When it happens we can take care of that, so it doesn't happen to soon 😄

@trjExpensify
Copy link
Contributor Author

Cool, I think we just merged that PR didn't we? #52283

@staszekscp
Copy link
Contributor

Ok then! We'll jump into this on Monday!

@melvin-bot melvin-bot bot added the Overdue label Nov 18, 2024
@Julesssss
Copy link
Contributor

Hey @staszekscp, is there anyone specifically that I can assign this issue to?

@melvin-bot melvin-bot bot removed the Overdue label Nov 18, 2024
@war-in
Copy link
Contributor

war-in commented Nov 18, 2024

Hi @Julesssss 👋 I'm going to work on this :)

@Julesssss
Copy link
Contributor

Great, let me know if I can help with anything.

@Julesssss
Copy link
Contributor

@trjExpensify we should think about testing. It's going to be tricky so maybe we just have to manually verify on the PR that bumps the minimum once these changes are deployed and we are ready to kill standalone?

@trjExpensify
Copy link
Contributor Author

Hm yeah, I'm not actually sure how to test that beforehand on staging, given it's a solution to force upgrade production only. When we deploy to staging the PR to bump the minimum version, could we minimally test that staging environments aren't blocked? 🤔

@AndrewGable
Copy link
Contributor

I think we should add a beta to test this, so we can confirm on known test domains and then enable it for all domains.

@AndrewGable
Copy link
Contributor

Added in https://github.com/Expensify/Web-Expensify/pull/44480, the beta name will be hybridForcedMigration

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 19, 2024
@Julesssss
Copy link
Contributor

PR merged, awaiting deployment for testing

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 26, 2024
@melvin-bot melvin-bot bot changed the title [HybridApp] Update the force upgrade modal to distinguish between prod and staging environments. [HOLD for payment 2024-12-03] [HybridApp] Update the force upgrade modal to distinguish between prod and staging environments. Nov 26, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 26, 2024
Copy link

melvin-bot bot commented Nov 26, 2024

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

Copy link

melvin-bot bot commented Nov 26, 2024

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

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

  • @war-in does not require payment (Contractor)

@Julesssss Julesssss changed the title [HOLD for payment 2024-12-03] [HybridApp] Update the force upgrade modal to distinguish between prod and staging environments. [HybridApp] Update the force upgrade modal to distinguish between prod and staging environments. Nov 27, 2024
@trjExpensify
Copy link
Contributor Author

@Julesssss can we close this?

@Julesssss
Copy link
Contributor

@trjExpensify I want to keep it open a bit longer as it hasn't been tested properly yet. It can be closed as soon as internal QA occurs for this backend PR.

@trjExpensify trjExpensify moved this from Todo to In Progress in [#whatsnext] #convert Dec 2, 2024
@trjExpensify
Copy link
Contributor Author

Works for me!

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Dec 3, 2024
@trjExpensify
Copy link
Contributor Author

We're still waiting to confirm this, Melv.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Dec 5, 2024
Copy link

melvin-bot bot commented Dec 9, 2024

@Julesssss, @trjExpensify, @war-in Whoops! This issue is 2 days overdue. Let's get this updated quick!

@trjExpensify
Copy link
Contributor Author

Still held up on confirming this.

@melvin-bot melvin-bot bot removed the Overdue label Dec 9, 2024
@trjExpensify trjExpensify removed the Awaiting Payment Auto-added when associated PR is deployed to production label Dec 9, 2024
@melvin-bot melvin-bot bot added the Overdue label Dec 12, 2024
Copy link

melvin-bot bot commented Dec 13, 2024

@Julesssss, @trjExpensify, @war-in Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@Julesssss
Copy link
Contributor

Julesssss commented Dec 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Overdue
Projects
Status: In Progress
Development

No branches or pull requests

5 participants