Skip to content

v2.8.1

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Aug 11:33
· 19 commits to master since this release
43ff252
  • Make CorpusStorage writes atomic and serialise the read-modify-write in
    remember()/prune() with a cross-process flock. Without this, two
    concurrent writers (e.g. infection --threads=max, parallel CI jobs sharing
    a corpus dir) could each read the same on-disk state and the second commit
    would silently lose the first; and a process killed mid-write would leave a
    truncated JSON document that the next recall() silently drops. Writes now
    go through a temp file + atomic rename(), so a reader sees either the
    previous or the new document, never a partial one. A short write (full disk)
    or a failed rename() aborts the commit and keeps the previous document
    intact instead of renaming a truncated temp file over it; a failed flock()
    raises instead of silently proceeding unserialised.
  • Run the Unit suite on Windows in CI.