mirror of
https://github.com/storytold/filmcraft.git
synced 2026-11-10 11:11:17 +00:00
* Preserve same-second autosave snapshots Found while testing crates/format/src/autosave.rs:133 Co-Authored-By: GPT-5.6-Luna <noreply@openai.com> Co-Authored-By: GPT-6-Luna <noreply@openai.com> * test: cover autosave collision rotation Co-Authored-By: GPT-5.6-Luna <noreply@openai.com> * autosave: number a same-second save after the highest collision on disk Rotation removes the oldest collisions first, so the lowest free number can sit below a newer save. Reusing it made the new save sort as the oldest and the next rotation deleted it straight away; continue after the highest instead. --------- Co-authored-by: GPT-5.6-Luna <noreply@openai.com> Co-authored-by: FredApps <FredApps@users.noreply.github.com>