From c874eb31dff767b23264226a7d9663cc371b80a9 Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Wed, 3 Jun 2026 18:01:30 +0200 Subject: [PATCH] docs(changelog): add orchestrator entry for Issue #16 Co-Authored-By: pi --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14dbb0e..70ecbab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 from `librofm.workers`, and `-w`/`--workers` CLI flag with three-layer resolution (CLI > config > default). 6 new tests (179 total) (closes #12) +- **orchestrator:** ThreadPoolExecutor-based parallel download engine: + `download_all_books()` replaces sequential for-loop in cli.py, submitting all + books as futures with per-future failure isolation. Returns `OrchestratorResult` + dataclass with stable-sorted counts, failed_books as (Book, reason) tuples, + and skipped_books as Book objects. `_raw_to_book()` conversion extracted from + cli.py. 20 new tests (218 total) (closes #16) + - MP3 format fallback: download manifest fetch, ZIP part download+extraction with .partial tracking and resume, format strategy selector (m4b_mp3_fallback, mp3_only, m4b_only), and `--limit` CLI flag for capped downloads