haiku.rag/haiku_rag_slim/haiku
Chris McDonough 3c7dbf0966
Classify PermissionError as PermanentError instead of TransientError
PermissionError is a subclass of OSError, so it was caught by the
broad timeout/io handler and classified as transient. An unreadable
file would retry 5 times then DLQ — permissions don't fix themselves
without operator intervention.

Add an explicit PermissionError check before the OSError catch so
unreadable files go straight to the DLQ.
2026-06-01 15:36:37 +03:00
..
rag Classify PermissionError as PermanentError instead of TransientError 2026-06-01 15:36:37 +03:00