GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — js_stream: move process.binding('js_stream') to internalBinding by antsmartian · Pull Request #22239 · nodejs/node Conversation
|
|
CI: https://ci.nodejs.org/job/node-test-pull-request/16344/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Holding removals until migration is ironed out
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@antsmartian ... when you get a moment, can you rebase this from master then apply the following patch that will be required for this to proceed: Author: James M Snell <[email protected]> Date: Tue Aug 14 19:36:25 2018 -0700 [Squash] add `process.binding('js_stream')` to fallthrough whitelist diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index 08daeb1915..ffae6e4cd9 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -327,7 +327,7 @@ // that are whitelisted for access via process.binding()... this is used // to provide a transition path for modules that are being moved over to // internalBinding. - const internalBindingWhitelist = new SafeSet(['uv']); + const internalBindingWhitelist = new SafeSet(['uv', 'js_stream']); process.binding = function binding(name) { return internalBindingWhitelist.has(name) ? internalBinding(name) : diff --git a/test/parallel/test-process-binding-internalbinding-whitelist.js b/test/parallel/test-process-binding-internalbinding-whitelist.js index ece967a0b7..cc0119917d 100644 --- a/test/parallel/test-process-binding-internalbinding-whitelist.js +++ b/test/parallel/test-process-binding-internalbinding-whitelist.js @@ -7,3 +7,4 @@ const assert = require('assert'); // Assert that whitelisted internalBinding modules are accessible via // process.binding(). assert(process.binding('uv')); +assert(process.binding('js_stream')); |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jasnell Now it should be good to go.. Thanks.. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@antsmartian ... this will need another rebase now that some of the other conversions to internalBinding have landed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jasnell Taken care, guess it should be all good now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
New CI: https://ci.nodejs.org/job/node-test-pull-request/16617/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Just noticed that this used a merge commit and it's failing CI because of it. Can you squash this down to a single commit and use rebase to catch it up to master. We don't use merge commits at all. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
79a2ed6 to
7b888fa
Compare
|
@jasnell Sorry, didn't notice that. Now its all green.. thanks for your support. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@antsmartian ... unfortunately this will need another rebase |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jasnell Done. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
And, yet another rebase is necessary … sorry :( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@addaleax No worries, I have an another PR which also needs rebase, will do it tonight and ping you. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
97b7369 to
77a2399
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
There is one more usage in lib/internal/wrap_js_stream.js, do we not want to change that as well?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM with @lundibundi s comment addressed.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yet again conflicts, let me rebase it tonight.. sorry folks.. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
77a2399 to
732e502
Compare
There was an error while loading. Please reload this page.
|
Ping @nodejs/collaborators . Can we merge this please, before I get another conflict :) Thanks! Edit: Looks like I can't ping teams. So pinging few people : @BridgeAR @addaleax @jasnell @trivikr |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
New CI: https://ci.nodejs.org/job/node-test-pull-request/17215/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
New CI: https://ci.nodejs.org/job/node-test-pull-request/17249/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in dcc0c2c |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #22239 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
|
@addaleax Thanks ! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.