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

fix(core): don't re-invoke pure pipes that throw and arguments are the same #35827

Conversation

pkozlowski-opensource
Copy link
Member

No description provided.

@atscott atscott added the area: core Issues related to the framework runtime label Mar 3, 2020
@ngbot ngbot bot added this to the needsTriage milestone Mar 3, 2020
@pkozlowski-opensource pkozlowski-opensource force-pushed the pure_fn_exploration branch 2 times, most recently from 2e206ee to 4e33536 Compare March 5, 2020 13:05
…e same

Pure pipes are not invoked again until their arguments are modified. The same
rule should apply to pure pipes that throw an exception. This fix ensures that
a pure pipe is not re-invoked if it throws an exception and arguments are not
changed.
@pkozlowski-opensource pkozlowski-opensource changed the title fix(core): wip fix(core): don't re-invoke pure pipes that throw and arguments are the same Mar 5, 2020
@pkozlowski-opensource pkozlowski-opensource marked this pull request as ready for review March 5, 2020 14:42
@pullapprove pullapprove bot requested a review from kara March 5, 2020 14:42
@pkozlowski-opensource pkozlowski-opensource 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 Mar 5, 2020
@pkozlowski-opensource pkozlowski-opensource requested review from mhevery and removed request for kara March 10, 2020 10:56
@pkozlowski-opensource pkozlowski-opensource 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 Mar 10, 2020
Copy link
Contributor

@kara kara left a comment

Choose a reason for hiding this comment

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

LGTM

@kara kara added the action: presubmit The PR is in need of a google3 presubmit label Mar 10, 2020
@kara
Copy link
Contributor

kara commented Mar 10, 2020

presubmit

@kara kara removed the request for review from mhevery March 10, 2020 22:46
@kara kara removed the action: presubmit The PR is in need of a google3 presubmit label Mar 10, 2020
matsko pushed a commit that referenced this pull request Mar 11, 2020
…e same (#35827)

Pure pipes are not invoked again until their arguments are modified. The same
rule should apply to pure pipes that throw an exception. This fix ensures that
a pure pipe is not re-invoked if it throws an exception and arguments are not
changed.

PR Close #35827
@matsko matsko closed this in 19cfaf7 Mar 11, 2020
@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 Apr 11, 2020
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: core Issues related to the framework runtime cla: yes 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