Sitelet https://web.archive.org/web/20230303212331/https://github.com/angular/angular/pull/49106
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

build: avoid unnecessary re-evaluation of starlark code #49106

Closed
wants to merge 1 commit into from

Conversation

devversion
Copy link
Member

The experimental allow tags propagation flag is a BuildLanguage option and causes all Starlark
code to be re-invoked. This causes a slow-down when switching between bazel query/ bazel
build because the option is not set for bazel query.

We fix it by applying the option to all commands, using common.

The experimental allow tags propagation flag is a `BuildLanguage` option
and causes all Starlark code to be re-invoked. This causes a slow-down
when switching between bazel query/ bazel build because the option is not set for `bazel query`.

We fix it by applying the option to all commands, using `common`.
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Feb 16, 2023
@ngbot ngbot bot added this to the Backlog milestone Feb 16, 2023
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Feb 16, 2023
Copy link
Contributor

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

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

LGTM

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 16, 2023
@alxhub
Copy link
Member

alxhub commented Feb 16, 2023

This PR was merged into the repository by commit 2a4d987.

alxhub pushed a commit that referenced this pull request Feb 16, 2023
The experimental allow tags propagation flag is a `BuildLanguage` option
and causes all Starlark code to be re-invoked. This causes a slow-down
when switching between bazel query/ bazel build because the option is not set for `bazel query`.

We fix it by applying the option to all commands, using `common`.

PR Close #49106
@alxhub alxhub closed this in 2a4d987 Feb 16, 2023
alxhub pushed a commit that referenced this pull request Feb 16, 2023
The experimental allow tags propagation flag is a `BuildLanguage` option
and causes all Starlark code to be re-invoked. This causes a slow-down
when switching between bazel query/ bazel build because the option is not set for `bazel query`.

We fix it by applying the option to all commands, using `common`.

PR Close #49106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants