-
fix: read_file_lossy uses fstat() on fd instead of separate stat() syscall
Release / Build aarch64-apple-darwin (push) Has been cancelledRelease / Build x86_64-apple-darwin (push) Has been cancelledRelease / Build aarch64-unknown-linux-musl (push) Has been cancelledRelease / Build aarch64-unknown-linux-gnu (push) Has been cancelledRelease / Build x86_64-unknown-linux-musl (push) Has been cancelledRelease / Build x86_64-unknown-linux-gnu (push) Has been cancelledRelease / Build x86_64-pc-windows-msvc (push) Has been cancelledRelease / Create Release (push) Has been cancelledRelease / Publish to crates.io (push) Has been cancelledRelease / Publish to npm (push) Has been cancelledRelease / Update Homebrew (push) Has been cancelled发布于
2026-05-13 07:38:11 +00:00 Fixes sporadic ENOENT on Docker overlay/FUSE filesystems where stat()
can return "No such file or directory" for files that exist.
Opens the file first, then uses file.metadata() (fstat on fd).
Adds a single retry with 50ms backoff on NotFound.Co-authored-by: Cursor cursoragent@cursor.com
下载附件