node
node copied to clipboard
node-api: make napi_get_buffer_info check if passed buffer is valid
Fixes #51570
Review requested:
- [ ] @nodejs/node-api
CI: https://ci.nodejs.org/job/node-test-pull-request/56960/
Fixed the linting errors, however, I have no idea why the test suddenly blew up on macOS. Possibly flaky?
@Janrupf kicked off another CI, I should have waited until the local ones had run before doing that earlier, we'll see what the results look like now.
CI: https://ci.nodejs.org/job/node-test-pull-request/56997/
Formatting should be good now, though the coverage test failed. I'm not sure if this is related to my changes (seems a bit unlikely)
CI: https://ci.nodejs.org/job/node-test-pull-request/57025/
CI: https://ci.nodejs.org/job/node-test-pull-request/57048/
Jenkins still says its under security embargo, so I have no idea why the tests fail (they do pass locally...), any chance someone could take a look at this/make the logs available?
CI: https://ci.nodejs.org/job/node-test-pull-request/57116/
CI seems to be failing due to something unrelated again, @mhdawson mind taking a look?
I think it's been too long to resume the existing ci, kicked off another one, expect it to need to be resumed a few times.
CI: https://ci.nodejs.org/job/node-test-pull-request/57118/
@mhdawson CI failed again (sorry for the pings...), this time another random check. I don't think this is related to my changes, but neither can I fully confirm it is not. Any idea if thats a flaky test or something really is broken?
CI: https://ci.nodejs.org/job/node-test-pull-request/57142/
CI: https://ci.nodejs.org/job/node-test-pull-request/57188/
CI: https://ci.nodejs.org/job/node-test-pull-request/57196/
CI: https://ci.nodejs.org/job/node-test-pull-request/57202/
Opened - https://github.com/nodejs/node/issues/51813 for latest flaky test failure.
CI: https://ci.nodejs.org/job/node-test-pull-request/57316/
Landed in 281c342717f50b98cd44ca27249b600b563d0fec