docs: phase 4a fix rounds 4 and 5

The phase 4a docs were written before the last two fix rounds landed. They
now describe the code at 8c2b9f1b: a sequence left as it was inside a moving
folder is taken along instead of keeping that folder in place; a held plan on
an offline archive keeps its plan and fails as offline; render filing answers
503 folder_moved; a rebase never moves the rows of the sequence that took the
old folder (with its known limitation); every writer refuses a folder another
sequence holds (SequenceFolders.Holds). Three DECISIONS rows added, six
updated; five fix rounds in STATUS and the request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 31d479c5f4dd0b7076b39331246815e95895a1fa)
This commit is contained in:
Alby96 committed 2026-10-27 20:57:25 +01:00
1 parent 8c2b9f1bfe
commit 23403f1c07
6 files changed
+71 -46

No files matched your search

+19 -13
View File
@@ -29,12 +29,13 @@ commits follow Conventional Commits (release notes are generated from them by `C
every file back, and a crash is completed by the next program that writes the sequence. XMP files follow their
photo. The plan's journal lets an interrupted Reorganize finish at the next archive open; one whose job was paused,
cancelled or failed waits for that job to be resumed or retried (a job that failed because the archive's drive went
away completes the plan once the drive is back).
away completes the plan once the drive is back; retried while the drive is still away, it fails and keeps the plan).
- A folder that moves takes along the sequences nested in it and the exports inside it; an editor open on a
reorganized sequence reloads where it is now (desktop).
- A sequence still receiving photos does not stop a Reorganize: it keeps its file names while its folder and title
change, the others go on, and the job then says how many sequences were not reorganized as planned. A new
Reorganize completes them.
- A sequence still receiving photos does not stop a Reorganize: it keeps its file names, and its folder and title
change while its first photo still gives them, else it stays as it is; the others go on, and the job then says how
many sequences were not reorganized as planned. A new Reorganize completes them. A selected sequence left as it is
inside a selected folder that moves goes with that folder, keeping its title and file names.
- API v1: `POST /api/v1/archive/reorganize` (archive administrators): a dry run with the plan and its fingerprint, then
the change as a `move` job (202) for exactly that plan, 409 `plan_changed` when the archive changed since, 503
`plan_dropped` when the server stopped making a plan; the server keeps a dry run a few minutes for its confirmation.
@@ -48,7 +49,10 @@ commits follow Conventional Commits (release notes are generated from them by `C
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 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.
fails with the reason; a render node retries a result the server cannot file for now for about 30 seconds, then
its job fails and a retry renders it again; an export one sequence saved into another's folder (the Export folder
picker) keeps naming its old path when another program then moves that other sequence away and the first one into
its folder (the file is intact: it moved with the other sequence).
### Changed
- Import, upload and Reorganize name photos by one rule: every photo of a sequence is named with the sequence's camera
@@ -73,10 +77,10 @@ commits follow Conventional Commits (release notes are generated from them by `C
- Renaming a sequence's files raises its frames version: an editor or client holding the old one reloads once.
- Proxy passes hold the thumbnail lease one batch (about 30 s) at a time, so another program's Reorganize, sequence
deletion or pack compaction waits for one batch rather than the whole pass.
- Server: a render upload or a render node's result that cannot be filed for now (the sequence busy past the lease
wait, the archive offline, or its folder moved by another program sharing the archive) answers 503 and keeps the
upload, to be completed again; the node keeps its job. A proxy upload answers 503 `sequence_busy` while the sequence
is busy.
- Server: a render upload or a render node's result that cannot be filed for now answers 503 and keeps the upload, to
be completed again: `sequence_busy` (the sequence busy past the lease wait), `archive_offline`, or the new
`folder_moved` (another program sharing the archive moved its folder, or moved another sequence into it, until the
server's next scan); the node keeps its job. A proxy upload answers 503 `sequence_busy` while the sequence is busy.
- The job kind *Move* is now *Reorganize*.
### Fixed
@@ -87,12 +91,14 @@ commits follow Conventional Commits (release notes are generated from them by `C
capture time in the index, and failed on sequences created without photos; folders now come from the sequence's
first photo, and such sequences are left out.
- Exports stay reachable when another program sharing the archive moves their sequence's folder (its Reorganize, or a
folder moved by hand): the next scan moves their paths with the folder, image-sequence exports included. Before,
they answered 404 there.
folder moved by hand): the next scan moves their paths with the folder, image-sequence exports included, and when
another sequence was moved into the old folder each sequence keeps naming its own exports. Before, they answered
404 there.
- A writer that read a sequence before its folder moved (an upload, a proxy, an export, an editor save, a sync, a deep
analysis) writes where the sequence is now, or, when another program moved it, refuses until the next scan instead
of creating the old folder again. Desktop: *Save both* and *Take server* on such a sequence say that its folder is
not where the index has it, and a render job of it does not start.
of creating the old folder again, and also when that program moved another sequence into the folder it left, so
nothing lands in the other sequence's folder. Desktop: *Save both* and *Take server* on such a sequence say that
its folder is not where the index has it, and a render job of it does not start.
## [0.1.0-rc.5] — 2026-10-27