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

Enable SKUs on Linux by default #20021

Merged
merged 2 commits into from
Sep 11, 2023
Merged

Enable SKUs on Linux by default #20021

merged 2 commits into from
Sep 11, 2023

Conversation

nvonpentz
Copy link
Member

@nvonpentz nvonpentz commented Sep 6, 2023

Resolves brave/brave-browser#32803

Submitter Checklist:

  • I confirm that no security/privacy review is needed and no other type of reviews are needed, or that I have requested them
  • There is a ticket for my issue
  • Used Github auto-closing keywords in the PR description above
  • Wrote a good PR/commit description
  • Squashed any review feedback or "fixup" commits before merge, so that history is a record of what happened in the repo, not your PR
  • Added appropriate labels (QA/Yes or QA/No; release-notes/include or release-notes/exclude; OS/...) to the associated issue
  • Checked the PR locally:
    • npm run test -- brave_browser_tests, npm run test -- brave_unit_tests wiki
    • npm run lint, npm run presubmit wiki, npm run gn_check, npm run tslint
  • Ran git rebase master (if needed)

Reviewer Checklist:

  • A security review is not needed, or a link to one is included in the PR description
  • New files have MPL-2.0 license header
  • Adequate test coverage exists to prevent regressions
  • Major classes, functions and non-trivial code blocks are well-commented
  • Changes in component dependencies are properly reflected in gn
  • Code follows the style guide
  • Test plan is specified in PR before merging

After-merge Checklist:

Test Plan:

Purchase a Brave News subscription on account.bravesoftware.com. The browser should not crash.

Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 😄👍

@nvonpentz nvonpentz requested review from fmarier and wknapik September 7, 2023 18:50
@nvonpentz
Copy link
Member Author

@fmarier @wknapik I requested your review because of your involvement in brave/brave-browser#23140. I am running Ubuntu and didn't have issues with crashes after these changes.

@wknapik
Copy link
Collaborator

wknapik commented Sep 7, 2023

@nvonpentz looks like your branch is a major chromium version behind. I'd start with a rebase.

I tested logging into my premium account on latest nightly, without your change, and the browser didn't crash for me.
I also tested using a binary built off your branch and that also didn't crash.

@nvonpentz
Copy link
Member Author

Thanks @wknapik

I tested logging into my premium account on latest nightly, without your change, and the browser didn't crash for me.

Right, I think current master doesn't have crashes, but is also missing support for SKUs (because it was causing crashes). I verified the lack of support by going to brave://skus-internals/, which didn't load until I made this change.

Rebasing.

@bsclifton
Copy link
Member

bsclifton commented Sep 8, 2023

Here's the issue I captured for the crash on Linux:
brave/brave-browser#23348

From my notes there:

I've only been able to reproduce with official build (Nightly for example)

If we wanted to be extra safe, we can do a release build locally WITH PGO profiles. If this doesn't have a crash when logging into account.brave.com then I think we're good to go 🙂 We could always test with Nightly too

If the crash doesn't exist anymore, we can close out brave/brave-browser#23348

@wknapik
Copy link
Collaborator

wknapik commented Sep 11, 2023

@bsclifton you can use the test pipelines to build any branch (see: wiki)

@nvonpentz
Copy link
Member Author

Based on my own testing locally I am comfortable merging as is and continue testing on Nightly.

@bsclifton
Copy link
Member

Let's do it 😄 (once CI passes, of course)

@nvonpentz nvonpentz merged commit 3c2864c into master Sep 11, 2023
@nvonpentz nvonpentz deleted the enable-skus-linux branch September 11, 2023 17:20
@github-actions github-actions bot added this to the 1.60.x - Nightly milestone Sep 11, 2023
@stephendonner
Copy link
Contributor

Test Plan:

Purchase a Brave News subscription on account.bravesoftware.com. The browser should not crash.

@nvonpentz you mean Brave Talk, Brave Search, or Brave Leo, right?

(And we should definitely test w/Leo.)

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

Successfully merging this pull request may close these issues.

Enable SKU SDK on Linux
4 participants