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 — buffer: move process.binding('buffer') to internalBinding by starkwang · Pull Request #22370 · nodejs/node Conversation
|
|
@starkwang build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/579/pipeline |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
node/test/parallel/test-buffer-bindingobj-no-zerofill.js Lines 29 to 34 in 3814534
The tests is failed now because the DetailsHow can we solve it? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This is going to be a tricky one because the way that test is written, there is no other way to test that particular bit. One question is: do we actually need to test that particular case? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I am +1 on removing that part from the test. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@starkwang I believe this should be added to the allow list at here. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
e9c556d to
b0984ae
Compare
Ideally, that entire test file should be replaced by an addon test. See conversation at 27e84ddd4e1#r19182129 and #11706. The test was written to cover the // |zeroFill| can be undefined when running inside an isolate where we // do not own the ArrayBuffer allocator. Zero fill is always on in that case. const zeroFill = bindingObj.zeroFill || [0]; If you can come up with an addon test that makes sure that code is run in the appropriate condition, then this rather inelegant way to test that bit of code can be removed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This needs a rebase. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
2c1292c to
3870dcd
Compare
|
I've removed the tricky |
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.
bf7a154 to
2eda676
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@nodejs/buffer PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
2eda676 to
5e88675
Compare
|
CI before landing: https://ci.nodejs.org/job/node-test-pull-request/17861/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This change is semver-major so it needs another member in TSC to approve. @nodejs/tsc PTAL. |
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
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in ac23e65 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #22370 Refs: #22160 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
PR-URL: #22370 Refs: #22160 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
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.