jetstream v2 in zig stream.waow.tech
Something went wrong. Try again.
segment_io: portable directory fsync via reopened fd master
Borrowing Io.Dir.handle into an Io.File for the post-rename directory fsync assumes the handle is an fsync-able fd. Where the backend opens directories O_PATH (observed as EBADF panics under the nixery CI runner; debug builds panic in the std errno path), that assumption fails. syncDir reopens "." beneath the directory as a real read-only fd, syncs through std.Io, and counts the same .sync fault ordinal as the path it replaces. All five borrow sites converted.
Author zzstoatzz Date (Aug 8, 2026, 6:12 AM UTC) Commit 3e1272b4 3e1272b45d52dd32e10c4b27e463ba381b932e96 Parent b74668c8 b74668c89cc2435152f49068329556564844e5d6