haiku.rag/tests/store
Yiorgis Gozadinos d367b1eb5a
Resolve the databases a command works on, once
The CLI decides only what it knows — that --db and --database are the same
thing said twice, and whether a command reads more than one — and hands the
resolved scope down. Nothing rewrites the configuration, so a named database
keeps the name results and citations carry, and a remote one opens the URI
it was configured with rather than the local path standing in for it.

HaikuRAGApp, ChatApp and InspectorApp take that scope and nothing else.
Selection reaches the client through a private constructor, so the public
signature still takes a path or names.
2026-08-25 15:48:47 +03:00
..
__init__.py
legacy_documents.py
test_citation.py Expose all chunk metadata on search results and citations through SearchResult.chunk_meta and Citation.chunk_meta 2026-08-17 19:42:23 +02:00
test_compression.py
test_database_info.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_document_item_grouped.py Stop the reranker fetch reading text it discards 2026-08-18 18:00:00 +03:00
test_document_items.py Type writing against one database 2026-08-25 10:09:23 +03:00
test_document_meta_split.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_engine.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_indexes.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_migrations.py Stop eagerly importing Store from haiku.rag.store 2026-08-11 17:26:51 +01:00
test_open_path.py Read the table list and settings once per open 2026-08-18 14:58:17 +03:00
test_read_only.py Resolve the databases a command works on, once 2026-08-25 15:48:47 +03:00
test_restore.py Stop eagerly importing Store from haiku.rag.store 2026-08-11 17:26:51 +01:00
test_tags.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_v0_40_0_migration.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_v0_45_0_migration.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_v0_48_0_migration.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_v0_50_0_migration.py Reach and enforce 100% coverage 2026-07-26 20:11:02 +03:00
test_v0_58_0_migration.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_v0_64_0_migration.py Rename document_meta identity column document_id to id 2026-07-08 16:32:55 +03:00
test_v0_75_0_migration.py Trim comments, docstrings and docs to what they need to say 2026-08-18 12:38:02 +03:00