Skip to content

Conversation

@ronag
Copy link
Member

If an autoDestroy stream is destroyed by user without
an error we automatically convert it to an AbortError in
order to avoid a weird state.

@ronagronag added the stream Issues and PRs related to the stream subsystem. label Nov 13, 2021
@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Nov 13, 2021
@ronagronag added the semver-major PRs that contain breaking changes and should be released in the next major version. label Nov 13, 2021
@ronagronagforce-pushed the auto-abort branch 2 times, most recently from 509b3d9 to a3b44a4CompareNovember 13, 2021 16:47
@ronagronag marked this pull request as ready for review November 13, 2021 16:47
@ronagronagforce-pushed the auto-abort branch 3 times, most recently from 873d061 to a35103fCompareNovember 13, 2021 16:56
@ronagronag added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. and removed needs-ci PRs that need a full CI run. labels Nov 13, 2021
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 13, 2021
@nodejs-github-bot
Copy link
Collaborator

@ronagronag requested a review from mcollinaNovember 13, 2021 17:16
@lpinca
Copy link
Member

This will not affect me directly but I think it will cause unnecessary breakage.

@ronag
Copy link
MemberAuthor

I think current implementation can cause a lot of confusion and weird edge cases.

@ronagronag marked this pull request as draft November 14, 2021 14:04
If an autoDestroy stream is destroyed by user without an error we automatically convert it to an AbortError in order to avoid a weird state.
@ronag
Copy link
MemberAuthor

This won't work unfortunately. Way to breaking.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.semver-majorPRs that contain breaking changes and should be released in the next major version.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ronag@nodejs-github-bot@lpinca@jasnell@VoltrexKeyva