Skip to content

feat(dev-infra): add bazel firefox browser with RBE compatibility#38029

Closed
devversion wants to merge 1 commit into
angular:masterfrom
devversion:feat/dev-infra-firefox-version
Closed

feat(dev-infra): add bazel firefox browser with RBE compatibility#38029
devversion wants to merge 1 commit into
angular:masterfrom
devversion:feat/dev-infra-firefox-version

Conversation

@devversion

Copy link
Copy Markdown
Member

Adds Firefox as browser to dev-infra/browsers with RBE
compatibility. The default Firefox browser is not compatible similar to
the default Chromium version exposed by rules_webtesting.

The Angular Components repository will use this browser target as
it enables RBE support. Also it gives us more flexibility about
the Firefox version we test against. The version provided by
rules_webtesting is very old and most likely not frequently
updated (based on past experience).

Additionally, for a more structured dev-infra/browsers folder, chromium
and firefox specifics are stored in dedicated folders. This results in
unexpected diff for chromium, but there is no change other than it
being moved into a subfolder.

Note for reviewer that the webtesting rules require us to explicitly specify
dev-infra/browsers/chromium:chromium when consuming the browsers
as it picks up the browser name from the target name after the colon.

@devversion devversion added hotlist: components team Related to Angular CDK or Angular Material target: patch This PR is targeted for the next patch release area: dev-infra Issues related to Angular's own dev infra (build, test, CI, releasing) labels Jul 13, 2020
@devversion devversion requested a review from wagnermaciel July 13, 2020 19:44
@ngbot ngbot Bot added this to the needsTriage milestone Jul 13, 2020
@pullapprove pullapprove Bot requested a review from JiaLiPassion July 13, 2020 19:44
@ngbot ngbot Bot added this to the needsTriage milestone Jul 13, 2020
Adds Firefox as browser to `dev-infra/browsers` with RBE
compatibility. The default Firefox browser is not compatible similar to
the default Chromium version exposed by `rules_webtesting`.

The Angular Components repository will use this browser target as
it enables RBE support. Also it gives us more flexibility about
the Firefox version we test against. The version provided by
`rules_webtesting` is very old and most likely not frequently
updated (based on past experience).
@devversion devversion force-pushed the feat/dev-infra-firefox-version branch from 9c5ed5d to 9c80fe2 Compare July 13, 2020 20:26
@wagnermaciel

wagnermaciel commented Jul 13, 2020

Copy link
Copy Markdown
Contributor

@devversion It seems like something is broken but I don't think it was a change you made. I'm getting this error

ERROR: error loading package '': Label '@npm_angular_dev_infra_private//browsers:browser_repositories.bzl' is invalid because 'browsers' is not a package; perhaps you meant to put the colon here: '@npm_angular_dev_infra_private//:browsers/browser_repositories.bzl'?

I tried this out with angular/angular's master branch and I'm getting the same error

@wagnermaciel

Copy link
Copy Markdown
Contributor

I've noticed one small issue with the new bazel package that I think we can resolve here. Lets discuss tomorrow 👍

@wagnermaciel wagnermaciel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. As per our discussion I will handle the BUILD file issue in PR #38026

@devversion devversion added the action: merge The PR is ready for merge by the caretaker label Jul 14, 2020

@JiaLiPassion JiaLiPassion left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM for the zone.js part.

AndrewKushnir pushed a commit that referenced this pull request Jul 15, 2020
…8029)

Adds Firefox as browser to `dev-infra/browsers` with RBE
compatibility. The default Firefox browser is not compatible similar to
the default Chromium version exposed by `rules_webtesting`.

The Angular Components repository will use this browser target as
it enables RBE support. Also it gives us more flexibility about
the Firefox version we test against. The version provided by
`rules_webtesting` is very old and most likely not frequently
updated (based on past experience).

PR Close #38029
devversion added a commit to devversion/material2 that referenced this pull request Jul 16, 2020
Updates our Firefox version that is used for Bazel unit tests to v78.0.
Previously we were using v68.

To update the Firefox version, we had to set up a custom Browser target
with repositories as the version for Firefox is usually hard-coded in
`rules_webtesting` and we cannot control that.

See related change in the dev-infra package:
angular/angular#38029.
devversion added a commit to devversion/material2 that referenced this pull request Jul 16, 2020
Updates our Firefox version that is used for Bazel unit tests to v78.0.
Previously we were using v68.

To update the Firefox version, we had to set up a custom Browser target
with repositories as the version for Firefox is usually hard-coded in
`rules_webtesting` and we cannot control that.

See related change in the dev-infra package:
angular/angular#38029.
devversion added a commit to devversion/material2 that referenced this pull request Jul 17, 2020
Updates our Firefox version that is used for Bazel unit tests to v78.0.
Previously we were using v68.

To update the Firefox version, we had to set up a custom Browser target
with repositories as the version for Firefox is usually hard-coded in
`rules_webtesting` and we cannot control that.

See related change in the dev-infra package:
angular/angular#38029.
andrewseguin pushed a commit to angular/components that referenced this pull request Jul 17, 2020
Updates our Firefox version that is used for Bazel unit tests to v78.0.
Previously we were using v68.

To update the Firefox version, we had to set up a custom Browser target
with repositories as the version for Firefox is usually hard-coded in
`rules_webtesting` and we cannot control that.

See related change in the dev-infra package:
angular/angular#38029.
ngwattcos pushed a commit to ngwattcos/components that referenced this pull request Jul 20, 2020
Updates our Firefox version that is used for Bazel unit tests to v78.0.
Previously we were using v68.

To update the Firefox version, we had to set up a custom Browser target
with repositories as the version for Firefox is usually hard-coded in
`rules_webtesting` and we cannot control that.

See related change in the dev-infra package:
angular/angular#38029.
trik pushed a commit to gnucoop/ajf that referenced this pull request Aug 10, 2020
Updates our Firefox version that is used for Bazel unit tests to v78.0.
Previously we were using v68.

To update the Firefox version, we had to set up a custom Browser target
with repositories as the version for Firefox is usually hard-coded in
`rules_webtesting` and we cannot control that.

See related change in the dev-infra package:
angular/angular#38029.
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Aug 15, 2020
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
…gular#38029)

Adds Firefox as browser to `dev-infra/browsers` with RBE
compatibility. The default Firefox browser is not compatible similar to
the default Chromium version exposed by `rules_webtesting`.

The Angular Components repository will use this browser target as
it enables RBE support. Also it gives us more flexibility about
the Firefox version we test against. The version provided by
`rules_webtesting` is very old and most likely not frequently
updated (based on past experience).

PR Close angular#38029
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: dev-infra Issues related to Angular's own dev infra (build, test, CI, releasing) cla: yes hotlist: components team Related to Angular CDK or Angular Material target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants