-
v0.65.9
Stablereleased this
2026-11-19 13:10:35 -08:00 | 4 commits to master since this releaselucisv-mcpno longer serves stale contents; the suite runs on Linux(
docs/features/linux-test-portability, Round 2; TODO §70.)lucisv-mcpno longer answers from a file's old contents after a
same-size rewrite that restores its old modification time. The server
decides whether a file changed from its size, mtime, change time and
inode, and re-reads a file whose mtime is too fresh to trust — but it did
not apply that caution to the change time. On Linux, where the change time
moves in 1 ms ticks, a file rewritten at the same size with its mtime put
back (cp -p,rsync -t,touch -r, a rename-over) inside the same tick
as the server's read matched in every field, and index-based answers
(find,hierarchy,check) came from the old text until the file
changed again.readandoutlinewere never affected. The rule now
covers every timestamp the stamp trusts, its window is 3 s (2 s was too
close to FAT's 2-second timestamps), and a wall clock stepped backwards
since a read distrusts the stamp. Reproduced on purpose on 0.65.8 (every
run with an identical stat was stale) and gone on this build across
overlayfs, tmpfs and APFS; ordinary reads cause no extra re-read.- What it still cannot see, now written down in
docs/features/mcp-transport: on Windows there is no change time or
inode, so a same-size rewrite that restores the old mtime more than 3 s
after a read goes unseen; and a store through a writable memory map that
the kernel has not yet reflected in the file's timestamps. A tree whose
files carry modification times in the future is re-read on every call. - The test suite is stable on Linux, and CI runs it there. It was green
on Linux most of the time and failed about one run in three: two test
helpers insisted that writing to a child's input succeed (a usage error
exits before reading), one latency test used a fixed 200 ms budget (it now
measures against a parse of the same buffer in the same process), and one
MCP test could hang on macOS under load on a pipe inherited across
threads. Ten consecutive green runs as root and ten as an unprivileged
user, then six and six by QA.ci.ymlhas alinuxjob (clippy and the
whole suite on Linux x86-64) beside the macOS one.
Downloads