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): report failed check results only once #3472

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Mar 29, 2022

Share the replay of failed check results accross all subscribers using the shareReplay() rxjs operator.

Reporting of a failed checks is done using a side effect (with the tap() operator). When later we subscribe to it twice, which is a result of the partition() operator, the reporting was done twice.

Fixes #3461

Share the replay of failed check results accross all subscribers using the `shareReplay()` rxjs operator.

Reporting of a failed checks is done using a side effect (with the `tap()` operator). When later we subscribe to it twice, which is a result of the `partition()` operator, the reporting was done twice.
@nicojs
Copy link
Member Author

nicojs commented Mar 29, 2022

@danny12321 or @ThierryRietveld maybe want to review?

Copy link
Contributor

@danny12321 danny12321 left a comment

Choose a reason for hiding this comment

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

This seems the have fixed the problem of #3461.

@nicojs nicojs merged commit dce5882 into master Mar 30, 2022
@nicojs nicojs deleted the fix/share-checked-results branch March 30, 2022 15:21
@nicojs
Copy link
Member Author

nicojs commented Mar 30, 2022

Thanks @danny12321 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Progress reporter shows more mutants are done then there are available
2 participants