a8cf7905

By: ValentinHirschi <valentin.hirschi@gmail.com>

sampled replay: the point store stops loudly on write / fsync / low-disk errors and drops a torn final line (3rd gate, criterion 5)

PointStore::append propagated nothing ('let _ ='): a full disk lost
batches silently. Now a write or fsync error stops the replay naming the
file, with the store and the saved state kept; a low disk
(RUSTRED_RESUME_DISK_MIN_GB, default 50, or RUSTRED_DISK_LOW_FLAG) stops it
before an append. At open, a final line without its newline (a short write)
is dropped, logged and cut from the file instead of refusing the store.
Tests: ENOSPC (/dev/full), torn tail, low-disk flag. Documented limits:
a job is re-imported only when all its points are stored (another batch
size or thread count replays partial jobs in full); line digests are
integrity checks, not authentication.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub
Time to Start Worker time Duration Time to finish Idle
Config - - - 6h14m40s 6h14m40s
Eval - - - - -
Build - - - - -
Suite - - - 6h14m40s 6h14m40s