| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
@nodejs/streams |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, out of precaution I would mark this semver-major.
Sorry, something went wrong.
|
CITGM: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/2022/ (queued) |
Sorry, something went wrong.
|
I'm worried about https://www.npmjs.com/package/csv-parser failing on CITGM |
Sorry, something went wrong.
|
csv-parser fails in all recent CITGM runs. It's not related to this change |
Sorry, something went wrong.
There was a problem hiding this comment.
This change has an interesting side effect, and I think we should try to avoid it. Calling stream.end('hello', cb) is going to prevent the error to bubble up to 'uncaughtException' if there are no other 'error' handlers.
You might want to re-emit the error if there are no other 'error' listeners.
Sorry, something went wrong.
Excellent point. I'll take care of it. |
Sorry, something went wrong.
|
For anyone following along in the conversation: csv-parser should be fixed by sindresorhus/execa#370 and is indeed unrelated to these changes |
Sorry, something went wrong.
|
Found another case where the callback is not called. Fixed. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
Sorry, something went wrong.
|
Relevant test failures in test.parallel/test-stream-transform-final-sync and test.parallel/test-stream-transform-final. |
Sorry, something went wrong.
|
@Trott: My mistake. Should be fixed now. |
Sorry, something went wrong.
Sorry, something went wrong.
|
@nodejs/tsc this needs some review |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
@Trott: This needs TSC review (see Matteo's comment)? Can we put tsc label on this or how does that work? |
Sorry, something went wrong.
I think @mcollina just meant that this is semver-major so it needed a second approval from a TSC member other than him. Subsequently, @jasnell approved it, and that would be the second approval. This can land if CITGM and CI are good. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Ensure that the callback passed into end() is always invoke in order to avoid bug such as deadlock the user. PR-URL: #29747 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
| Back | FazBrowse Home | New Git URL |
Ensure that the callback passed into end() is always invoked in order to avoid bug such as deadlock the user.
Checklist