GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — build: add Bazel g3_mode flag and acceptance_g3 test target by JeanMeche · Pull Request #72216 · angular/angular Conversation
Member
SummaryAdds a Bazel How it works
Verification
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
JeanMeche
force-pushed
the
test/bazel-g3-mode-target
branch
2 times, most recently
from
0d0d2e7 to
2ef2c7c
Compare
Adds a Bazel `--//tools/bazel:g3_mode` build setting and a `g3_test` transition rule so Angular tests can be compiled and executed locally and in CI with `g3-only` / `3p-only` sync markers active. - **`tools/bazel/patches/rules_angular_g3_mode.patch`**: Supports `--ngG3Mode` in `rules_angular`'s compiler worker, applying `g3-only` / `3p-only` markers in-memory via `fs.readFile` with an isolated `FileCache` (zero overhead and zero cache pollution for 3P builds, no file copying or `root_dir` rewrites). - **`tools/bazel/BUILD.bazel` & `tools/bazel/g3_mode.bzl`**: Defines `//tools/bazel:g3_mode`, `//tools/bazel:is_g3_mode`, and the `g3_test` transition wrapper. - **`tools/defaults.bzl`**: Forwards `--ngG3Mode` to `ts_project` and `ng_project` when `is_g3_mode` is active. - **`packages/core/test/acceptance`**: Scopes `acceptance_g3` to `**/*_g3_spec.ts` (excluded from 3P `acceptance_lib`) and adds a `g3_mode_g3_spec.ts` smoke test.
JeanMeche
force-pushed
the
test/bazel-g3-mode-target
branch
from
2ef2c7c to
112c778
Compare
JeanMeche
marked this pull request as ready for review
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
alan-agius4
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This check passes in 3P mode as well. Checking
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are two issues with how the worker caches are handled in
Keeping a separate persistent
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hardcoding Angular repository paths ( Could we pass exclusions or a transform hook from this repository (or upstream a generic hook into
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dropping lines with Also, using
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Preserving
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since Have we checked the CI wall time and RBE impact, and is running this on every PR intentional? Also,
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please also add
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Small guard: using
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
area: build & ci
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |