haiku.rag/tests/store
Yiorgis Gozadinos 9baa213b34
Hand storage the database location, not the configuration that placed it
Store, connect_lancedb, gather_database_info and run_doctor take a
location, a path or a URI, and classify it with ConnectionMode.of.
SingleDatabaseSession owns the resolved DatabaseRef and passes its
location down. This removes DatabaseRef.connection(), default_db_path,
the placeholder path for URI-backed databases and the per-database
config copies, so the configuration a client holds is the one the caller
gave it. The chat hands its capabilities the scope it opened along with
the client it lends, and the v0.58.0 migration no longer checks local
free disk for a database behind a URI.
2026-09-03 15:11:37 +03:00
..
__init__.py
legacy_documents.py Test the 0.20.0 and 0.25.0 migrations 2026-08-31 12:13:12 +03:00
test_citation.py Cite a repeated chunk from its last occurrence 2026-08-27 13:25:06 +03:00
test_compression.py Collapse docling compression to a single function 2026-06-24 10:43:27 +03:00
test_database_info.py Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +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 State what the code does, not what it replaced 2026-08-28 15:13:52 +03:00
test_indexes.py Update lancedb to 0.37.1 2026-08-31 18:54:48 +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_20_0_migration.py Test the 0.20.0 and 0.25.0 migrations 2026-08-31 12:13:12 +03:00
test_v0_25_0_migration.py Test the 0.20.0 and 0.25.0 migrations 2026-08-31 12:13:12 +03:00
test_v0_38_0_migration.py Test the 0.20.0 and 0.25.0 migrations 2026-08-31 12:13:12 +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 Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +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 Update lancedb to 0.37.1 2026-08-31 18:54:48 +03:00