Skip to content

Conversation

@devversion
Copy link
Member

It looks like Bazel sometimes discards the analysis cache
when switching between testing/running and plain building.

This is because b3a0037 introduced a flag for disabling
legacy bazel behavior. This flag has been only applied to "run"
and "test", but not for "build". This means that we accidentally
switch the environment, and Bazel discards the analysis cache

INFO: Build option --legacy_external_runfiles has changed, discarding analysis cache.

It looks like Bazel sometimes discards the analysis cache
when switching between testing/running and plain building.

This is because b3a0037 introduced a flag
for disabling legacy bazel behavior. This flag has been only
applied to "run" and "test", but not for "build". This means
that we accidentally switch the environment, and Bazel discards
the analysis cache (slowing down the development).
@devversion devversion added pr: merge safe target: patch This PR is targeted for the next patch release labels Oct 22, 2019
@devversion devversion requested review from a team and jelbourn as code owners October 22, 2019 08:58
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 22, 2019
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM

@josephperrott josephperrott added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Oct 22, 2019
@mmalerba mmalerba merged commit af68f57 into angular:master Oct 22, 2019
@angular-automatic-lock-bot
Copy link

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 Nov 22, 2019
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 cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants