haiku.rag/tests/store
Yiorgis Gozadinos 82fd10e0ee
Migrate LanceDB to native async API
Convert all LanceDB operations from sync calls wrapped in async
functions to the native async API (connect_async, AsyncConnection,
AsyncTable, AsyncQuery). Database I/O no longer blocks the event loop.

- Store and HaikuRAG use async context managers (async with). Store
  initialization is deferred to __aenter__; direct construction
  without async with is no longer supported.
- Index creation uses config objects (FTS, BTree, IvfPq) instead of
  string-based index_type parameter.
- Upgrade callbacks are async.
- HaikuRAG tracks background vacuum tasks and awaits them in __aexit__
  and before destructive rebuild operations to avoid races with
  concurrent table mutations.
- temp_db_path fixture uses pytest's tmp_path for reliable async
  cleanup.
2026-04-24 14:42:52 +03:00
..
test_compression.py switch compression from gzip to zstd, use stdlib for python >= 3.14 2026-04-08 14:04:32 +03:00
test_document_items.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
test_engine.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
test_migrations.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
test_read_only.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
test_time_travel.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00