Add page sectioning, web rendering and replace Listr2 with cli-progress#4
Merged
nicpottier merged 1 commit intomainfrom Feb 10, 2026
Merged
Add page sectioning, web rendering and replace Listr2 with cli-progress#4nicpottier merged 1 commit intomainfrom
nicpottier merged 1 commit intomainfrom
Conversation
…progress Implements the remaining pipeline steps (page-sectioning, web-rendering with HTML validation) and replaces Listr2 with cli-progress for reliable concurrent page processing. Listr2 had a fundamental bug where nested task.newListr() subtasks were not properly awaited under concurrency, causing pipeline steps to run out of order. Key changes: - Add page-sectioning and web-rendering pipeline steps with Liquid prompts - Add HTML validation (data-id uniqueness, text containment, image refs) - Replace Listr2 with cli-progress MultiBar + custom async concurrency pool - Generate unique per-text IDs (pg001_gp001_tx001) for web rendering - Add configurable max_retries to StepConfig (default 8 for web rendering) - Add step/item_id columns to llm_log table with v2→v3 migration - Progress bars per pipeline step instead of per page for better scaling - Spinner for metadata extraction, progress bar for PDF extraction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
stepanditem_idfields to LLM log with v2→v3 schema migrationTest plan
pnpm typecheckpassespnpm test— all tests passpnpm pipeline raven assets/raven.pdf— pages process through Classify→Section→Render sequentially per page, concurrently across pages