-
Notifications
You must be signed in to change notification settings - Fork 30k
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
stream: add new
when constructing ERR_MULTIPLE_CALLBACK
#52110
stream: add new
when constructing ERR_MULTIPLE_CALLBACK
#52110
Conversation
Review requested:
|
test/parallel/test-stream-err-multiple-callback-construction.js
Outdated
Show resolved
Hide resolved
test/parallel/test-stream-err-multiple-callback-construction.js
Outdated
Show resolved
Hide resolved
e30cf1e
to
dcdcf76
Compare
test/parallel/test-stream-err-multiple-callback-construction.js
Outdated
Show resolved
Hide resolved
commit c71e548 changed NodeError from a function to a class, and missed a spot where `ERR_MULTIPLE_CALLBACK` was being instantiated. This commit fixes that by adding the new keyword to that instance. Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
f3e8260
to
a5a3fd7
Compare
Commit Queue failed- Loading data for nodejs/node/pull/52110 ✔ Done loading data for nodejs/node/pull/52110 ----------------------------------- PR info ------------------------------------ Title stream: add `new` when constructing `ERR_MULTIPLE_CALLBACK` (#52110) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch haze:pr/hb/err-multiple-callback-fix -> nodejs:main Labels author ready, needs-ci, commit-queue-squash Commits 1 - stream: add `new` when constructing `ERR_MULTIPLE_CALLBACK` Committers 1 - Haze Booth PR-URL: https://github.com/nodejs/node/pull/52110 Reviewed-By: Robert Nagy Reviewed-By: Debadree Chatterjee Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/52110 Reviewed-By: Robert Nagy Reviewed-By: Debadree Chatterjee Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last approving review: ⚠ - stream: add `new` when constructing `ERR_MULTIPLE_CALLBACK` ℹ This PR was created on Sat, 16 Mar 2024 03:29:48 GMT ✔ Approvals: 3 ✔ - Robert Nagy (@ronag) (TSC): https://github.com/nodejs/node/pull/52110#pullrequestreview-1940941832 ✔ - Debadree Chatterjee (@debadree25): https://github.com/nodejs/node/pull/52110#pullrequestreview-1940956860 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/52110#pullrequestreview-1941334372 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-03-17T06:35:38Z: https://ci.nodejs.org/job/node-test-pull-request/57784/ - Querying data for job/node-test-pull-request/57784/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/8320924494 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Landed in 63391e7 |
@nodejs/releasers could you include this in the upcoming v18.x release? |
It would break with policy because this hasn't gone out in a current release yet (default policy is that things should be in current for two weeks before going into an LTS line). I'm also confused -- according to the description, this PR fixes an issue introduced by c71e548 which is #49654 and that isn't on v18.x. 😕 |
commit c71e548 changed NodeError from a function to a class, and missed a spot where `ERR_MULTIPLE_CALLBACK` was being instantiated. This commit fixes that by adding the new keyword to that instance. Co-authored-by: Luigi Pinca <luigipinca@gmail.com> PR-URL: nodejs#52110 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@richardlau is this a candidate for v20.x? |
It needs to be released in a Node.js current release (either 21 or 22 when it arrives next month) before it can land in 20.x. |
commit c71e548 changed NodeError from a function to a class, and missed a spot where `ERR_MULTIPLE_CALLBACK` was being instantiated. This commit fixes that by adding the new keyword to that instance. Co-authored-by: Luigi Pinca <luigipinca@gmail.com> PR-URL: #52110 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
commit c71e548 changed NodeError from a function to a class, and missed a spot where `ERR_MULTIPLE_CALLBACK` was being instantiated. This commit fixes that by adding the new keyword to that instance. Co-authored-by: Luigi Pinca <luigipinca@gmail.com> PR-URL: #52110 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
commit c71e548 changed NodeError from a function to a class, and missed a spot where
ERR_MULTIPLE_CALLBACK
was being instantiated. This commit fixes that by adding the new keyword to that instance.