echos-ocr/src
Randall Stillwell 393114e9be Fix PDF page count detection and add processing diagnostics
The old getPdfPageCount used a fragile regex on raw PDF binary that
could undercount pages, causing survey sides to be skipped entirely.
Replaced with pdf-lib's PDFDocument.load() for reliable counting,
with the old regex as a fallback.

Added logging for page counts and pairing to diagnose missing backs.

Made-with: Cursor
2026-04-07 22:12:21 -05:00
..
app Add OCR rate limit handling and batch reprocess action 2026-04-07 17:22:33 -05:00
components Add OCR rate limit handling and batch reprocess action 2026-04-07 17:22:33 -05:00
lib Fix PDF page count detection and add processing diagnostics 2026-04-07 22:12:21 -05:00
instrumentation.ts Auto-resume email and folder watchers on server startup 2026-04-07 13:14:41 -05:00