fix(documents): say a PDF past the reader's limits is too large to read

A text read that crossed the isolated reader's memory or time bound came
back as a plain read error, which the index job records as decrypt-error,
so the document said its stored file could not be opened. The local
extractor now answers resource-limit for PdfResourceLimitError, the index
records it under that name, and the detail view says the PDF is too large
or complex to read here, in every locale. Like the thumbnail's refusal of
the same bytes it is final: nothing retries it on its own.
This commit is contained in:
Marc-André Bombeck committed 2026-10-25 16:00:35 +01:00
1 parent 66e92f36fe
commit 8471e0edc9
17 files changed
+136 -16

No files matched your search

+2
View File
@@ -79798,6 +79798,7 @@ components:
- local-empty
- local-unsupported
- decrypt-error
- resource-limit
- raster-failed
- provider-error
- pdf-needs-anthropic
@@ -80370,6 +80371,7 @@ components:
- local-empty
- local-unsupported
- decrypt-error
- resource-limit
- raster-failed
- provider-error
- pdf-needs-anthropic