openreader/src
Richard R fe59685454 feat(worker): add granular PDF progress reporting and abort error handling
Introduce per-page progress events for PDF parsing by adding onPageStarted
hooks throughout the compute worker and core PDF pipeline. Add
compute/worker/src/pdf-progress.ts to encapsulate progress event builders.
Update server logic to emit page start and page parsed events, improving
client feedback during long-running PDF jobs.

Add src/lib/server/compute/abort-like-error.ts and integrate isAbortLikeError
to robustly detect and suppress expected aborts in API event streaming.
Update API route to ignore abort-like errors on worker proxy crash.

Add unit tests for abort-like error detection and PDF progress event
generation. Refactor PDF parse logic to allow empty merged regions without
throwing, ensuring downstream flows remain resilient to edge cases.

These changes improve observability, error handling, and reliability for
document parsing and event streaming.
2026-05-29 20:13:59 -06:00
..
app feat(worker): add granular PDF progress reporting and abort error handling 2026-05-29 20:13:59 -06:00
components refactor(onboarding): modularize onboarding flow logic and improve testability 2026-05-29 18:03:17 -06:00
contexts refactor(onboarding): modularize onboarding flow logic and improve testability 2026-05-29 18:03:17 -06:00
db feat(pdf): implement granular PDF parse progress tracking and migrate to parseState 2026-05-21 10:27:16 -06:00
hooks feat(hooks): introduce useUnmountCleanupRef for effect cleanup abstraction 2026-05-27 16:22:14 -06:00
lib feat(worker): add granular PDF progress reporting and abort error handling 2026-05-29 20:13:59 -06:00
types refactor(doclist): remove columns view and update text labeling 2026-05-28 17:20:02 -06:00
middleware.ts feat: implement US-only availability check for production instance in middleware and privacy page 2026-02-19 12:28:30 -07:00