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

Test upgrade on the Beta channel #1536

Closed
3 of 17 tasks
bsclifton opened this issue Oct 11, 2018 · 6 comments
Closed
3 of 17 tasks

Test upgrade on the Beta channel #1536

bsclifton opened this issue Oct 11, 2018 · 6 comments

Comments

@bsclifton
Copy link
Member

bsclifton commented Oct 11, 2018

When development is complete, we should test the Muon to Brave Core upgrade path officially on the Beta channel of browser-laptop. This issue is basically the test plan for brave/browser-laptop#15309

An in-depth explanation of how the upgrade happens can be found here:
#1863 (comment)

There is also a support article (which we link to). Details about that can be found here:
#1918

Pre-testing steps

  • Release brave-core with --upgrade-from-muon that imports all expected data
  • Package final brave-core release channel binaries in browser-laptop
  • Build new version of browser-laptop and push to beta channel

Test plan

Windows specific

Linux specific

Import test plan

These can't be tested yet, because the Brave Core components aren't finished (yet)

Known use-cases

Here are the known use-cases and how they work:

  • User is prompted for update on Muon. They hit “Update” to relaunch Brave OR they close it (Either way, we force-relaunch Muon)
  • HAPPY PATH
    • user is on macOS or Windows
    • Brave Core is not installed yet (no profile directory)
    • Brave Core will be installed and executed with --upgrade-from-muon
    • Immediately after launching Brave Core, Muon quits (no UI is ever shown to user)
    • --upgrade-from-muon flag is detected by brave-core; import takes place
  • NOT HAPPY PATH
    • If user is on Linux, nothing happens
    • If installing Brave Core fails, nothing happens
    • If user already has Brave Core installed, nothing happens (no import)
  • DIFFERENT BUT POSSIBLY HAPPY PATH (NEEDS CONFIRMATION)
    • If the user uninstalled Brave Core at some point (ex: they have a profile directory) and then upgrades Muon
  • EDGE CASE
    • If user goes through the upgrade process and then decides to delete Brave Core, Muon will not attempt to re-install it
@bsclifton
Copy link
Member Author

bsclifton commented Oct 16, 2018

Should we update the users to RELEASE channel (on brave-core)? or BETA? Would be good to respect their channel preference and keep them on BETA if possible

@bsclifton
Copy link
Member Author

Just finished testing this with the current code for Windows on NIGHTLY channel

  • Update found - it was downloaded 😄👍
  • Update finished downloading... and then it did the silent install for Brave Core and launched into it? 🙀 (so now, Muon is open saying "Do you want to restart?" and there is a Brave Core window which is now on top of the Muon window)
  • Clicking "Restart" on the notification bar in Muon quits and relaunches Muon? 🙀
  • Squirrel executable works as expected: 😄👍
    • default browser being Muon launches Brave Core
    • shortcuts to Muon launch Brave Core

@petemill
Copy link
Member

Tested:

  • Installed 0.25.201
  • Ran 0.25.201
    • Prompted for update
    • Prompted for app restart (still only muon showing)
    • Click Restart
      • Muon launches
      • Brave Core launches
        • Quit both
        • Open "Brave Nightly"
          • Brave Core launches

@bsclifton
Copy link
Member Author

bsclifton commented Oct 30, 2018

Tested on macOS last nite:

  • update found; it gets downloaded 👍
  • I clicked the Do you want to restart? and it quit as expected 👍
  • relaunch happened, no UI is shown. It installs brave-core fairly quickly (since it has the entire installer, not just the stub installer) 👍
  • after it does the silent install of brave-core, it launches directly into brave-core 👍

Also tested on Windows:

@bbondy bbondy modified the milestones: Muon => Brave Core migration, 1.x Backlog Oct 30, 2018
@bsclifton bsclifton modified the milestones: 1.x Backlog, Dupe / Invalid / Not actionable Nov 29, 2018
@bsclifton
Copy link
Member Author

bsclifton commented Dec 7, 2018

OK here we go - update pushed to BETA channel

  1. Dowload latest Muon BETA if you haven’t already https://github.com/brave/browser-laptop/releases/tag/v0.23.204beta
  2. Check for update
  3. You should be prompted for upgrade (which will be version 0.25.217)

@bsclifton
Copy link
Member Author

Looks good! Merged brave/browser-laptop#15309 and we'll be going live here soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants