Summary
#1779 closed (general fs gaps), but the FileHandle / fs.promises open surface remains incomplete: 15 tests fail with Cannot read properties of undefined (reading 'open') and 19 with generic value() missing on fs-promises methods.
Examples: test-fs-filehandle-use-after-close.js, test-fs-promises-file-handle-append-file.js, test-fs-promises-file-handle-chmod.js.
What to do
Implement fs.promises.open() returning a real FileHandle with: .read, .write, .appendFile, .chmod, .close, .stat, .sync, .truncate, .utimes, .readv/.writev, Symbol.asyncDispose. The 15 .open failures suggest fs.promises itself returns undefined or its open field is unwired; the 19 value() failures are downstream FileHandle methods.
Note: distinct from #2013 (validation/error-codes) and #1779 (general fs, closed).
Context: #800 sweep, perry 0.5.1032. Follow-up to #1779 (closed).
Summary
#1779 closed (general fs gaps), but the FileHandle /
fs.promisesopen surface remains incomplete: 15 tests fail withCannot read properties of undefined (reading 'open')and 19 with genericvalue() missingon fs-promises methods.Examples:
test-fs-filehandle-use-after-close.js,test-fs-promises-file-handle-append-file.js,test-fs-promises-file-handle-chmod.js.What to do
Implement
fs.promises.open()returning a realFileHandlewith:.read,.write,.appendFile,.chmod,.close,.stat,.sync,.truncate,.utimes,.readv/.writev,Symbol.asyncDispose. The 15.openfailures suggestfs.promisesitself returns undefined or itsopenfield is unwired; the 19value()failures are downstream FileHandle methods.Note: distinct from #2013 (validation/error-codes) and #1779 (general fs, closed).
Context: #800 sweep, perry 0.5.1032. Follow-up to #1779 (closed).