Skip to content

sys, node:fs: close reports every errno except EINTR and EINPROGRESS - #44330

Closed
robobun wants to merge 5 commits into
robobun/a27cb684/sys-single-shot-closefrom
robobun/a27cb684/sys-close-reports-errno
Closed

robobun wants to merge 5 commits into
robobun/a27cb684/sys-single-shot-closefrom
robobun/a27cb684/sys-close-reports-errno

node:fs: writeFile and appendFile by path report the error of their c…

c37bac7
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Oct 1, 2026 in 14m 35s

Code review found 2 new issues (3 earlier findings still open)

Resolved 1 earlier finding in this review; 3 still open. Found 3 candidates, confirmed 5: 2 posted in this review, 3 from earlier reviews still open. See review comments for details.

Details

Severity Count
🔴 Important 0
🟡 Nit 0
🟣 Pre-existing 5
Severity File:Line Issue
🟣 Pre-existing src/runtime/node/node_fs.rs:4724 pre-existing: users passing 'flush: true' to fs.appendFile / appendFileSync / promises.appendFile never get an fsync, so
🟣 Pre-existing src/runtime/node/node_fs.rs:7514 pre-existing: users passing 'flush: true' to fs.writeFile / writeFileSync / promises.writeFile on NFS or SMB still get s