| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Marking this as a possible semver-minor due to the change in the timing. @bnoordhuis .. thoughts on this one? |
Sorry, something went wrong.
|
Wouldn't a change in timing be a semver-major change? |
Sorry, something went wrong.
|
Possibly yes. |
Sorry, something went wrong.
|
I've updated this PR to match master |
Sorry, something went wrong.
Sorry, something went wrong.
|
LGTM if tests pass. I'd make it semver-major just to be safe. CI: https://ci.nodejs.org/job/node-test-pull-request/2027/ |
Sorry, something went wrong.
|
should we add this to the v7 milestone? |
Sorry, something went wrong.
|
FIXME states that emitting error should be deferred to next tick. setImmediate does this. process.nextTick and setImmediate have confusing names, since setImmediate will actually defer emitting the error to next tick and process.nextTick will emit error within current tick cycle. Thus nextTick has lower latency, but does it matter in this case? |
Sorry, something went wrong.
|
LGTM. Since it's semver-major (out of caution, not because this is actually expected to cause huge problems), I'm going to ping @nodejs/ctc to see if anyone else wants to LGTM or wait wait wait wat no no no this. Also, since it's been dormant a while, might be good to run one last CI. Also a CITGM because: semver-major. CI: https://ci.nodejs.org/job/node-test-pull-request/4076/ |
Sorry, something went wrong.
|
IMHO I don't think it has to be until the next actual tick, I think the original idea was to allow the user to have time to set up an error event handler before it's emitted. process.nextTick() accomplishes this without further unnecessary delay. It's also what is used throughout the code base whenever similar situations arise. |
Sorry, something went wrong.
|
Agree with @mscdex LGTM pending new CI and ctc comments |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
|
Running CI one more time: https://ci.nodejs.org/job/node-test-pull-request/4126/ |
Sorry, something went wrong.
|
ping @nodejs/ctc ... did we want to land this? |
Sorry, something went wrong.
|
There's two approvals and no rejection, so I'd say...yes? |
Sorry, something went wrong.
|
3 ctc approvals (@bnoordhuis @Trott @cjihrig ) and 2 other collaborator ones ( @imyller @santigimeno) so it should be good to land, probably needs another CI and CitGM run though. |
Sorry, something went wrong.
|
Seems like this is not stalled and it only has to land? |
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: nodejs#4670 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
| Back | FazBrowse Home | New Git URL |
Fixes FIXMEs in lib/internal/child_process.js ref's #4642
... process.nextTick(callback, ex); } else { this.emit('error', ex); // FIXME(bnoordhuis) Defer to next tick. } return false; ... process.nextTick(callback, ex); } else { this.emit('error', ex); // FIXME(bnoordhuis) Defer to next tick. } }