haiku.rag/haiku_rag_slim/haiku/rag/ingester
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
..
api Custom hover tooltips for truncated dashboard cells 2026-05-27 15:42:17 +03:00
pollers Merge pull request #395 from mcdonc/perf/reuse-httpx-clients 2026-06-01 17:38:05 +03:00
queue Merge pull request #391 from mcdonc/perf/event-driven-worker-wakeup 2026-06-01 17:06:40 +03:00
sources Narrow HTTP discover() exception catch to TransportError only 2026-06-01 17:57:51 +03:00
workers Merge pull request #409 from mcdonc/fix/sync-state-write-crash 2026-06-01 17:46:46 +03:00
__init__.py ingester: add source-adapter scaffolding + FS source 2026-05-26 11:41:53 +03:00
app.py Merge pull request #405 from mcdonc/fix/run-batch-hang-on-dead-workers 2026-06-01 17:51:49 +03:00
cli.py Surface failed discovery sweeps in run-batch 2026-06-01 10:27:31 +03:00
exceptions.py worker pool, rety policy, pipeline 2026-05-26 11:41:54 +03:00