haiku.rag.ingester.sources was never ingester-only: one-shot client ingestion resolves adapters through it (create_document_from_source), and convert() now fetches through HTTPSource, so the core client imported into the ingester package to reach them. Move the package to haiku.rag.sources and update every import. No shims: haiku.rag.ingester.sources is gone. The haiku.rag.sources plugin entry-point group is unchanged, so third-party source packages need no edit — the group name now matches the module path it always implied. Source unit tests move to tests/sources/. test_source_plugins.py stays in tests/ingester/: it drives a PeriodicPoller against the job repo, so it is plugin wiring through ingester machinery rather than a source test. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_api.py | ||
| test_circuit_breaker.py | ||
| test_cli.py | ||
| test_config.py | ||
| test_filter.py | ||
| test_metadata.py | ||
| test_pipeline.py | ||
| test_pollers.py | ||
| test_queue.py | ||
| test_queue_postgres.py | ||
| test_revision_round_trip.py | ||
| test_run_batch.py | ||
| test_serve_integration.py | ||
| test_source_plugins.py | ||
| test_workers.py | ||