Files
filmcraft/crates/format
7322aad724 Preserve same-second autosave snapshots (#3844)
* 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>
2026-11-05 04:03:10 +01:00
..