Skip to content

fs: return Buffer from mkdtemp when prefix is a Buffer #88029

fs: return Buffer from mkdtemp when prefix is a Buffer

fs: return Buffer from mkdtemp when prefix is a Buffer #88029

Triggered via pull request July 10, 2026 07:10
Status Failure
Total duration 39m 6s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/parallel/test-fs-mkdtemp.js#L67
--- stderr --- node:internal/errors:547 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Buffer at Object.basename (node:path:1475:5) at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-fs-mkdtemp.js:67:27) at Module._compile (node:internal/modules/cjs/loader:1937:14) at Object..js (node:internal/modules/cjs/loader:2077:10) at Module.load (node:internal/modules/cjs/loader:1659:32) at Module._load (node:internal/modules/cjs/loader:1451:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { code: 'ERR_INVALID_ARG_TYPE' } Node.js v27.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-fs-mkdtemp.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-fs-mkdtemp.js#L67
--- stderr --- node:internal/errors:547 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Buffer at Object.basename (node:path:1475:5) at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-fs-mkdtemp.js:67:27) at Module._compile (node:internal/modules/cjs/loader:1937:14) at Object..js (node:internal/modules/cjs/loader:2077:10) at Module.load (node:internal/modules/cjs/loader:1659:32) at Module._load (node:internal/modules/cjs/loader:1451:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { code: 'ERR_INVALID_ARG_TYPE' } Node.js v27.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-fs-mkdtemp.js
sccache stats - test-linux
73% - 3659 hits, 1372 misses, 0 errors
sccache stats - test-linux
73% - 3688 hits, 1354 misses, 0 errors