EverOS/tests/unit/test_memory/test_cascade
zhanghui 45656d331e
fix(lancedb): fix FTS with_position optimize crash + disk bloat (#336)
FTS indexes built with with_position=True crash lance's optimize/compaction
on lancedb >= 0.32 when merging an unindexed tail (Max offset exceeds length
of values; upstream lance-format/lance#7653). The crash aborts optimize()
including version cleanup, so the index dir grows unbounded until the disk
fills. everos recall is OR-mode BM25 and never does phrase queries, so
positions are never read -- disabling is lossless.

- base: default with_position=False
- infra: migrate_fts_indexes() rebuilds pre-fix indexes once at startup + reclaims orphans
- cascade worker: count consecutive optimize failures, escalate warning->error

Fixes #335.

Co-authored-by: zhanghui <zhanghui@shanda.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 16:54:58 +08:00
..
__init__.py chore: initialize EverOS 1.0.0 2026-06-06 07:33:17 +08:00
test_handler_agent_skill.py chore: initialize EverOS 1.0.0 2026-06-06 07:33:17 +08:00
test_handler_episode.py chore(release): update EverOS to 1.1.1 (#327) 2026-07-07 18:30:03 +08:00
test_handler_knowledge_document.py chore(release): update EverOS to 1.1.0 (#307) 2026-06-24 23:17:23 +08:00
test_handler_knowledge_topic.py chore(release): update EverOS to 1.1.0 (#307) 2026-06-24 23:17:23 +08:00
test_handler_user_profile.py chore: initialize EverOS 1.0.0 2026-06-06 07:33:17 +08:00
test_handlers_daily_log_mapping.py chore: initialize EverOS 1.0.0 2026-06-06 07:33:17 +08:00
test_orchestrator.py chore(release): update EverOS to 1.1.0 (#307) 2026-06-24 23:17:23 +08:00
test_reconciler.py chore: initialize EverOS 1.0.0 2026-06-06 07:33:17 +08:00
test_registry.py chore(release): update EverOS to 1.1.0 (#307) 2026-06-24 23:17:23 +08:00
test_registry_knowledge.py chore(release): update EverOS to 1.1.0 (#307) 2026-06-24 23:17:23 +08:00
test_scanner_unit.py chore(release): update EverOS to 1.1.0 (#307) 2026-06-24 23:17:23 +08:00
test_watcher_helpers.py chore: initialize EverOS 1.0.0 2026-06-06 07:33:17 +08:00
test_worker.py fix(lancedb): fix FTS with_position optimize crash + disk bloat (#336) 2026-07-10 16:54:58 +08:00