Skip to content

fix(core): preserve OCR continuity for blank pages#134

Merged
jb-thery merged 1 commit into
developfrom
feature/ocr-empty-page-continuity
Jul 18, 2026
Merged

fix(core): preserve OCR continuity for blank pages#134
jb-thery merged 1 commit into
developfrom
feature/ocr-empty-page-continuity

Conversation

@jb-thery

Copy link
Copy Markdown
Member

Summary

  • accept a valid empty Tesseract payload for image-only PDF pages with no detectable text
  • preserve strict page-count validation for malformed OCR output
  • cover the real blank-page regression with a focused test

Upgrade continuity

This prevents one blank scanned page from stopping a full reindex after an upgrade. Existing sources remain untouched, and the index can complete without excluding the document.

Validation

  • pnpm validate
  • 497 Core tests passed
  • Landing, Chat, and TTS test suites passed
  • build, security audit, smoke, packaging, and release artifact checks passed

@jb-thery
jb-thery merged commit 2bb2820 into develop Jul 18, 2026
11 checks passed
@jb-thery
jb-thery deleted the feature/ocr-empty-page-continuity branch July 18, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant