SPB Git

Repository Public License

mixed-batch.md 5.8 KB 81 lines markdown

1# ORIX Convert — mixed-batch robustness run23> Generated file — do not edit. Written by `orix-convert dev stress`.45Everything goes through the `convert` command (queue, validation, safe writer); the harness only prepares the files and compares the6outcomes with what the registry predicts for each file.78| | |9|---|---|10| Date | 2026-11-21T17:15:32Z |11| Machine | Apple M5 Max, 18 cores, 48 GB (Mac17,6) |12| Load average (1, 5, 15 min) | 22.9, 25.85, 26.09 |13| Files | 300: 14 collision, 1 deleted, 15 empty, 20 garbage, 250 valid |14| Duration | 54.0 s |1516`valid` = generated PNG, WAV, TXT, Markdown, CSV, JSON, HTML and SVG files; `garbage` = random bytes under ten different extensions; `empty` = zero-byte files (a zero-byte `.txt` is a valid empty document and is expected to convert; the others are expected to fail);17`collision` = valid files in sub-folders whose names repeat names of the batch; `deleted` = a valid file removed while its job was queued.1819## Scenarios2021| Scenario | Exit | Jobs | Finished | Failed | Skipped | Cancelled | Failures by kind |22|---|---:|---:|---:|---:|---:|---:|---|23| mixed batch to PDF | 1 | 300 | 177 | 123 | 0 | 0 | malformedInput 13, unreadableInput 1, unsupportedPath 109 |24| read-only destination | 1 | 10 | 0 | 10 | 0 | 0 | writeFailed 10 |25| conflicts: first write | 0 | 10 | 10 | 0 | 0 | 0 | — |26| conflicts: --on-conflict fail | 5 | 10 | 0 | 10 | 0 | 0 | destinationExists 10 |27| conflicts: --on-conflict skip | 0 | 10 | 0 | 0 | 10 | 0 | — |28| conflicts: default (rename) | 0 | 10 | 10 | 0 | 0 | 0 | — |29| conflicts: --on-conflict replace | 0 | 10 | 10 | 0 | 0 | 0 | — |30| source protection | 5 | 1 | 0 | 1 | 0 | 0 | destinationExists 1 |3132## Checks (37, 0 failed)3334| Check | Result | Detail |35|---|---|---|36| mixed batch to PDF: JSON summary matches the jobs | passed | 300 jobs: 177 finished, 123 failed, 0 skipped, 0 cancelled |37| mixed batch to PDF: no work folder left | passed | none |38| mixed batch: every outcome is the one the registry predicts | passed | 300 jobs, 0 unexpected outcome(s) |39| mixed batch: one job per file | passed | 300 jobs for 300 files |40| mixed batch: summary counts | passed | finished 177 (expected 177), failed 123 (expected 123) |41| mixed batch: exit status 1 (some conversions failed) | passed | exit 1 |42| mixed batch: every reported output exists and no two jobs share one | passed | 177 outputs, 177 distinct |43| mixed batch: name collisions were numbered, not overwritten | passed | 14 outputs renamed for 14 colliding names |44| mixed batch: an empty .txt is converted as an empty document | passed | 3 empty .txt file(s): 3 converted to a blank PDF |45| mixed batch: garbage and the other empty files fail with a message and write nothing | passed | 35 files; kinds: ? 3, malformedInput 13, unsupportedPath 19 |46| mixed batch: the file deleted while queued fails cleanly | passed | The file could not be read. vanishing.png no longer exists. |47| mixed batch: no partial file in the output folder | passed | none |48| mixed batch: no source file was touched | passed | all 299 remaining sources present |49| read-only destination: JSON summary matches the jobs | passed | 10 jobs: 0 finished, 10 failed, 0 skipped, 0 cancelled |50| read-only destination: no work folder left | passed | none |51| read-only destination: every job fails with a write error | passed | failed 10/10; kinds: writeFailed |52| read-only destination: nothing was written there | passed | empty |53| conflicts: first write: JSON summary matches the jobs | passed | 10 jobs: 10 finished, 0 failed, 0 skipped, 0 cancelled |54| conflicts: first write: no work folder left | passed | none |55| conflicts: first write succeeds | passed | finished 10/10 |56| conflicts: --on-conflict fail: JSON summary matches the jobs | passed | 10 jobs: 0 finished, 10 failed, 0 skipped, 0 cancelled |57| conflicts: --on-conflict fail: no work folder left | passed | none |58| conflicts: fail → exit 5, nothing written or changed | passed | exit 5, failed 10, folder unchanged: true |59| conflicts: --on-conflict skip: JSON summary matches the jobs | passed | 10 jobs: 0 finished, 0 failed, 10 skipped, 0 cancelled |60| conflicts: --on-conflict skip: no work folder left | passed | none |61| conflicts: skip → exit 0, 10 skipped, nothing changed | passed | exit 0, skipped 10, folder unchanged: true |62| conflicts: default (rename): JSON summary matches the jobs | passed | 10 jobs: 10 finished, 0 failed, 0 skipped, 0 cancelled |63| conflicts: default (rename): no work folder left | passed | none |64| conflicts: rename → 10 new numbered files, originals intact | passed | finished 10, 20 files in the folder |65| conflicts: --on-conflict replace: JSON summary matches the jobs | passed | 10 jobs: 10 finished, 0 failed, 0 skipped, 0 cancelled |66| conflicts: --on-conflict replace: no work folder left | passed | none |67| conflicts: replace → the 10 files are replaced, no extra file | passed | finished 10, replaced 10, 20 files |68| conflicts: no partial file left | passed | none |69| source protection: JSON summary matches the jobs | passed | 1 jobs: 0 finished, 1 failed, 0 skipped, 0 cancelled |70| source protection: no work folder left | passed | none |71| source protection: converting a file onto itself with replace is refused | passed | A file already exists at the destination. $TMPDIR/orix-convert-stress-69383/in/photo-001.png is the source file. Choose another name, or allow replacing the original explicitly. |72| temporary root holds nothing of this run | passed | $TMPDIR/ai.spboucher.orix.convert/work: 1 entry in total, 0 from this process |7374## Outcomes that differ from the prediction (0)7576None.7778## Temporary root after the run7980`$TMPDIR/ai.spboucher.orix.convert/work` — 1 entry (work folders are named `<pid>-<uuid>`; any listed here belong to other running ORIX Convert processes on this shared Mac): studio-59464.81
Files main
Menu

Theme