haiku.rag/haiku_rag_slim/haiku/rag/ingester/sources
Chris McDonough 61ea22527a
Narrow HTTP discover() exception catch to TransportError only
The bare `except Exception` in HTTPSource.discover() silently
swallowed all errors from HEAD requests — including configuration
errors (bad auth, invalid headers) and programming errors (TypeError,
AttributeError) — treating them identically to network failures by
emitting UPSERT with no revision.

Narrow the catch to httpx.TransportError (the umbrella for
ConnectError, TimeoutException, etc.) and add a debug log. Other
exceptions now propagate to the poller's circuit breaker where they
surface as failures instead of being silently retried forever.
2026-06-01 17:57:51 +03:00
..
__init__.py Split snapshot APIs and resolve_fetcher by intent 2026-05-27 14:39:54 +03:00
base.py Fix shutdown-order bug: close source clients after workers stop 2026-06-01 09:55:39 -04:00
filter.py ingester: add source-adapter scaffolding + FS source 2026-05-26 11:41:53 +03:00
fs.py Merge pull request #395 from mcdonc/perf/reuse-httpx-clients 2026-06-01 17:38:05 +03:00
http.py Narrow HTTP discover() exception catch to TransportError only 2026-06-01 17:57:51 +03:00
registry.py Split snapshot APIs and resolve_fetcher by intent 2026-05-27 14:39:54 +03:00
s3.py Fix shutdown-order bug: close source clients after workers stop 2026-06-01 09:55:39 -04:00
webdav.py Reuse httpx.AsyncClient across requests in HTTP and WebDAV sources 2026-06-01 07:00:15 -04:00