haiku.rag/tests/ingester
Yiorgis Gozadinos 206d29b74a
Let the configuration place the ingester's database
The ingester manufactured `data_dir / haiku.rag.lancedb` whenever `--db` was
absent and passed it to HaikuRAG. A path is now an explicit override that
clears the configured URI, so a `lancedb.uri` deployment wrote to local disk
while the control plane reported on the remote.

`IngesterApp` resolves the databases it works on once, in its constructor, and
both the client it opens and the control plane read that scope. `--db` names
one directly and nothing stands in for it, so a configured set is refused
rather than guessed, and `AmbiguousDatabaseError` joins the errors `cli()`
turns into a clean exit.
2026-08-27 14:00:21 +03:00
..
__init__.py
conftest.py Support a dburi for the ingester queue (SQLite + Postgres) 2026-06-03 14:34:09 +03:00
test_api.py Let the configuration place the ingester's database 2026-08-27 14:00:21 +03:00
test_circuit_breaker.py Move CircuitBreaker to a shared module 2026-07-08 11:03:30 +03:00
test_cli.py Let the configuration place the ingester's database 2026-08-27 14:00:21 +03:00
test_config.py Renew job leases from the worker pool; lease-based reaping 2026-06-25 13:26:09 +03:00
test_filter.py Move source adapters out of the ingester package 2026-08-20 11:46:55 +03:00
test_metadata.py Move source adapters out of the ingester package 2026-08-20 11:46:55 +03:00
test_pipeline.py Move source adapters out of the ingester package 2026-08-20 11:46:55 +03:00
test_pollers.py Move source adapters out of the ingester package 2026-08-20 11:46:55 +03:00
test_queue.py Add last_heartbeat_at lease column to the ingester queue 2026-06-25 13:25:37 +03:00
test_queue_postgres.py Add last_heartbeat_at lease column to the ingester queue 2026-06-25 13:25:37 +03:00
test_revision_round_trip.py Move source adapters out of the ingester package 2026-08-20 11:46:55 +03:00
test_run_batch.py Let the configuration place the ingester's database 2026-08-27 14:00:21 +03:00
test_serve_integration.py Move source adapters out of the ingester package 2026-08-20 11:46:55 +03:00
test_source_plugins.py Move source adapters out of the ingester package 2026-08-20 11:46:55 +03:00
test_workers.py Move source adapters out of the ingester package 2026-08-20 11:46:55 +03:00