haiku.rag/haiku_rag_slim/haiku/rag/store/repositories
Yiorgis Gozadinos dddaf0f84c
Remove unreachable code and fix two defects it surfaced
Delete repository methods with no callers (SettingsRepository CRUD,
ChunkRepository.update/delete/get_chunks_in_range), the DataFrame branch of
_process_search_results whose only caller always passes a query, and guards
that cannot be reached from their call sites: the rebuild mode=None default,
the staging drop already performed by _resolve_rebuild_recovery, the empty
batch skip, two context fast paths, the doctor prefix guard, the poller
_task attribute that is never assigned, and a docling caption fallback for
a field name no item class defines.

set_haiku_version built a recreated settings row from the process-global
Config rather than the store's own, so a store opened with a custom config
stamped global settings into the database.

check_source_accessible called urlparse outside its try block, so a stored
URI with a malformed IPv6 host raised ValueError instead of reporting the
source as inaccessible, aborting the whole rebuild sweep.
2026-07-26 18:45:48 +03:00
..
__init__.py add document_items table for fast context expansion 2026-04-16 12:11:53 +03:00
chunk.py Remove unreachable code and fix two defects it surfaced 2026-07-26 18:45:48 +03:00
document.py Rename document_meta identity column document_id to id 2026-07-08 16:32:55 +03:00
document_item.py Attach figure bytes when a result matches its caption 2026-07-03 13:22:02 +03:00
settings.py Remove unreachable code and fix two defects it surfaced 2026-07-26 18:45:48 +03:00