mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-06 18:52:36 +00:00
M13 batch: correct parity status and scope the no-replace sentence (#6299)
Co-authored-by: eliets2 <287273517+eliets2@users.noreply.github.com>
This commit is contained in:
1 parent
0c744357cb
commit
ae893c1517
2 files changed
+9
-7
No files matched your search
+3
-1
@@ -42,12 +42,14 @@ only `.pdf` inputs are processed. Unsupported extensions are reported as skipped
|
||||
remaining files continue. Earlier successful outputs stay, and unprocessed
|
||||
files are listed as skipped. A file is published only after all its steps succeed.
|
||||
|
||||
Existing output names are never replaced, even by concurrent batch writers:
|
||||
For `batch`, existing output names are never replaced, even by concurrent batch writers:
|
||||
`book.pdf`, `book (2).pdf`, and so on. A temporary file in the destination folder
|
||||
is published without overwriting. Sources are never moved or deleted. An output
|
||||
folder inside an input folder is excluded from discovery, including on reruns.
|
||||
The output folder cannot equal or contain a selected input folder.
|
||||
|
||||
The Action Wizard (`action_run`) and folder OCR (`ocr_recognize_files`) do not give this guarantee yet.
|
||||
|
||||
The report contains `completed`, `failed`, `skipped`, `stopped` and `files`.
|
||||
Each file records its status, output and step results, or the error/skip reason.
|
||||
The `batch` command exits nonzero on any file failure while still printing the
|
||||
|
||||
@@ -7844,11 +7844,11 @@ title = "Optimize multiple files"
|
||||
area = "K"
|
||||
tier = "P2"
|
||||
milestone = "M13"
|
||||
status = "planned"
|
||||
status = "partial"
|
||||
commands = []
|
||||
tools = []
|
||||
evidence = []
|
||||
notes = ""
|
||||
tools = ["doc_batch"]
|
||||
evidence = ["apps/pdfcraft-cli/tests/it/batch.rs::cli_batch_reports_partial_failure_and_continues_into_subfolders"]
|
||||
notes = "Headless and CLI only: doc_batch with the optimize step (`pdfcraft-cli batch --steps optimize`, or `convert,optimize` as the cited test runs) over files and folders. No GUI batch dialog, no report file, no parallel workers, no resume. See docs/cli-batch.md."
|
||||
|
||||
[[feature]]
|
||||
id = "optimize.preflight"
|
||||
@@ -9452,11 +9452,11 @@ title = "Run guided actions on files"
|
||||
area = "N"
|
||||
tier = "P1"
|
||||
milestone = "M13"
|
||||
status = "shipped"
|
||||
status = "partial"
|
||||
commands = ["actions.wizard"]
|
||||
tools = ["action_list", "action_run"]
|
||||
evidence = ["crates/ui-egui/tests/it/actions.rs::desktop_actions_preserve_duplicate_names_and_results_from_earlier_runs", "crates/engine/src/tests.rs::actions_run_their_steps_on_files", "crates/automation/tests/it/automation.rs::actions_through_tools", "crates/ui-egui/tests/it/actions.rs::run_and_create_actions"]
|
||||
notes = "Desktop output filenames receive numbered suffixes when occupied, preserving every batch result and previous outputs. Pick an action and files; results go to a chosen folder, in the background with progress."
|
||||
notes = "Desktop output filenames receive numbered suffixes when occupied, preserving every batch result and previous outputs. Pick an action and files; results go to a chosen folder, in the background with progress. Known gap: a failing non-removal step still publishes its output as success (crates/engine/src/actions.rs:200-208)."
|
||||
|
||||
[[feature]]
|
||||
id = "misc.action-wizard-create"
|
||||
|
||||
Reference in new issue
Block a user