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

[web] update chrome version #20470

Merged
merged 9 commits into from Aug 19, 2020
Merged

Conversation

nturgut
Copy link
Contributor

@nturgut nturgut commented Aug 13, 2020

increase_chrome_version, should be merged after recipe changes.

Note: currently used for testing the recipe.

fixes: flutter/flutter#63633

lib/web_ui/dev/driver_manager.dart Outdated Show resolved Hide resolved
lib/web_ui/dev/driver_manager.dart Show resolved Hide resolved
lib/web_ui/dev/driver_manager.dart Outdated Show resolved Hide resolved
lib/web_ui/dev/driver_manager.dart Outdated Show resolved Hide resolved
lib/web_ui/dev/driver_manager.dart Outdated Show resolved Hide resolved
lib/web_ui/dev/driver_version.yaml Outdated Show resolved Hide resolved
lib/web_ui/dev/driver_version.yaml Outdated Show resolved Hide resolved
lib/web_ui/dev/driver_version.yaml Outdated Show resolved Hide resolved
'drivers',
browser,
preferredChromeDriverVersion,
'${browser}driver-${io.Platform.operatingSystem.toString()}'));
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to append the operating system name? Is it possible to have drivers for different operating systems on the same computer? If not, then we can remove this part of the path because the name of the browser is already encoded in the path on line 46.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can't change this name. I already created the cipd packages. This subdirectory is in the package.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I actually copied the naming from Chrome. When you download a chrome from chromium downloads and unzip, you will see the first directory would be chrome-linux or chrome-mac. We are following that naming.

lib/web_ui/dev/driver_version.yaml Outdated Show resolved Hide resolved
@nturgut nturgut requested a review from yjbanov August 18, 2020 01:46
lib/web_ui/dev/driver_manager.dart Outdated Show resolved Hide resolved
lib/web_ui/dev/driver_manager.dart Outdated Show resolved Hide resolved
lib/web_ui/dev/driver_version.yaml Outdated Show resolved Hide resolved
@nturgut nturgut requested a review from yjbanov August 18, 2020 18:51
lib/web_ui/dev/driver_manager.dart Show resolved Hide resolved
lib/web_ui/dev/driver_manager.dart Outdated Show resolved Hide resolved
## Please refer to README's `Upgrade Browser Version` section for more details
## on how to update the version number.
required_driver_version:
## Make sure the major version of the binary in `browser_lock.yaml` is the
Copy link
Contributor

Choose a reason for hiding this comment

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

This no longer needs to refer to browser_lock.yaml as everything is in the same file. Instead it should point to the relevant keys in this file that need to be in sync with this value.

required_driver_version:
## Make sure the major version of the binary in `browser_lock.yaml` is the
## same for Chrome.
chrome: '84'
Copy link
Contributor

Choose a reason for hiding this comment

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

For consistency with geckodriver we should either move geckodriver under required_driver_version, or put chromedriver next to geckodriver without required_driver_version. The former is simpler than the latter.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As discussed offline, reviewer will address the changes in a separate PR.

lib/web_ui/dev/README.md Outdated Show resolved Hide resolved
lib/web_ui/dev/README.md Outdated Show resolved Hide resolved
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@nturgut nturgut added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Aug 19, 2020
@nturgut
Copy link
Contributor Author

nturgut commented Aug 19, 2020

Engine looks green on the dashboard. Merging the pr

@nturgut nturgut merged commit 74d32ec into flutter:master Aug 19, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 19, 2020
gspencergoog pushed a commit to gspencergoog/engine that referenced this pull request Aug 20, 2020
* update chrome version, should be merged after recipe changes

* changing directory to use chrome driver in LUCI

* changing directory path's order

* add cipd packages's chrome version for mac

* addressing reviewer comments

* more documentation. update readme

* remove late since it didn't build. remove distinction in paths for local and LUCI.

* addressing reviewer comments. (non-null fields needs rechanging)

* addressing reviewer comments. adding 2.6 on files missing the notation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.
Projects
None yet
3 participants