fix(reorganize): a rename journal that cannot be read no longer stops the archive from opening

An archive open lists the pending rename plans; one journal that was not valid JSON threw out of
ArchiveService.OpenAsync, so the archive (and the server, at boot) did not open until the file was
removed by hand. It is now logged and left in place; its own job fails with the reason instead of
planning again over a half-applied plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-10-27 19:50:32 +01:00
1 parent 074d09839a
commit 0c2bdedfdf
5 files changed
+59 -8

No files matched your search

+3 -2
View File
@@ -46,8 +46,9 @@ commits follow Conventional Commits (release notes are generated from them by `C
Reorganize comes back under its old name; a Reorganize job cancelled and never retried leaves its held plan in
`.chronos/journal` (only the file renames a step left half-way are completed at an archive open); deleting
sequences is refused while a Reorganize job runs or is paused; a render of another program whose folder moves while
it runs is not stopped, and its output can land in a folder created again at the old place; a plan journal damaged
by hand (not valid JSON) stops the archive from opening until it is removed.
it runs is not stopped, and its output can land in a folder created again at the old place; a plan journal that
cannot be read is logged and left in `.chronos/journal`: the archive opens, its plan is not resumed and its job
fails with the reason.
### Changed
- Import, upload and Reorganize name photos by one rule: every photo of a sequence is named with the sequence's camera