Support crash-durable binary attachment writes #302
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/binary-durable-write"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Widen writeFileDurable to accept Uint8Array in addition to text. Node already supports binary file writes; preserve the existing atomic staging/fsync/rename contract. Prerequisite for Matrix attachments.
Verification
Typecheck and all three durable concurrency/binary/failure tests passed. No runtime installation changes.
Full clean-main candidate build and suite now verified: 1600 tests, 1599 passed, one existing optional skip, zero failures. Typecheck and three durable-write tests passed. Initial direct source-only run lacked dist artifacts; corrected by the normal build before the complete run. No test exclusion.