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

[1.11.x] Do not immediately expire sync v1 infobar about v2 #6070

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

petemill
Copy link
Member

We were relying on the base implementation. Possibly i don't understand how that works because I had assumed that it would only expire the infobar after a change of site, not a New Tab or resurrecting a tab on browser restart. But in release (and frustratingly not on local builds) that's not the case - the infobar was immediately dismissing. So, change the logic to an info bar which does not automatically expire for the active tab.

Resolves brave/brave-browser#10621

Submitter Checklist:

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

We were relying on the base implementation. Possibly i don't understand how that works because I had assumed that it would only expire the infobar after a change of site, not a New Tab or resurrecting a tab on browser restart. But in release (and frustratingly not on local builds) that's not the case - the infobar was immediately dismissing. So, change the logic to an info bar which does not automatically expire for the active tab.
@petemill petemill requested a review from bsclifton July 13, 2020 23:49
@petemill petemill self-assigned this Jul 13, 2020
@petemill petemill changed the title Do not immediately expire sync v1 infobar about v2 [1.11.x] Do not immediately expire sync v1 infobar about v2 Jul 13, 2020
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++

@kjozwiak kjozwiak requested a review from a team July 14, 2020 02:04
@kjozwiak
Copy link
Member

Looks like audit-deps failed on each platform due to lodash which is a known issue and fixed in 1.13.x and 1.12.x and doesn't block uplift.

test-browser failed on Win x64 as per

22:07:41  1 test crashed:
22:07:41      BraveToolbarViewTest.AvatarButtonIsShownMultipleProfiles (../../brave/browser/ui/views/toolbar/brave_toolbar_view_browsertest.cc:93)

Believe this is an intermittent issue but I'll let @petemill or @bsclifton comment. I don't believe this is blocking.

Going to restart macOS as build failed as per https://ci.brave.com/job/pr-brave-browser-1.11.x-fix-sync-v1-infobar-expire/1/execution/node/358/log/ due to the following:

20:26:27  FAILED: obj/content/browser/browser/browser_main_loop.o 

@kjozwiak kjozwiak added CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux labels Jul 14, 2020
@kjozwiak
Copy link
Member

test-install failed on macOS as per https://ci.brave.com/job/pr-brave-browser-1.11.x-fix-sync-v1-infobar-expire/2/execution/node/409/log/ which is a known issue and doesn't block uplift.

Copy link
Member

@kjozwiak kjozwiak left a comment

Choose a reason for hiding this comment

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

Uplift/revert approved after deliberating with @brave/uplift-approvers. Both @jsecretan and @rebron are aware this is being reverted and will be added in the next 1.11.x HF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants