haiku.rag/tests/store
Yiorgis Gozadinos 9a3e2b86ca
Read a database's stored settings once
`Store` already parses the settings blob on open, so keep it: the
inspector's info modal was opening the settings table, querying it and
parsing the JSON a second time, and `doctor` was asking
`SettingsRepository` for it on a store it already held. Creating a
database refreshes it, so a new one reports the version init wrote.

`gather_database_info` keeps its own parse: it goes around `Store` so a
pre-migration database still reports what it can.
2026-08-25 17:38:32 +03:00
..
__init__.py
legacy_documents.py
test_citation.py
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 Read a database's stored settings once 2026-08-25 17:38:32 +03:00
test_indexes.py Split the store module by responsibility 2026-08-20 12:13:51 +03:00
test_migrations.py
test_open_path.py
test_read_only.py Resolve the databases a command works on, once 2026-08-25 15:48:47 +03:00
test_restore.py
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
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
test_v0_75_0_migration.py