Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(ci): remove stale migration head assertion (#5155)

LearningCircuitc87b8db54314
diff --git a/tests/database/test_migration_0023_0024_rag.py b/tests/database/test_migration_0023_0024_rag.py
index 8363d96274..1d44f537db 100644
--- a/tests/database/test_migration_0023_0024_rag.py
+++ b/tests/database/test_migration_0023_0024_rag.py
@@ -11,7 +11,7 @@ Covers:
- 0024 makes document_chunks.id an AUTOINCREMENT column so ids are never
reused after the max-id row is deleted — the invariant the faiss
id-keyed vector store depends on to avoid cross-document text leaks.
-- The migration chain is single-headed: 0022 -> 0023 -> 0024.
+- Migrations 0023 and 0024 form the expected 0022 -> 0023 -> 0024 chain.
"""
import uuid
@@ -470,17 +470,3 @@ class TestMigrationChain:
script = ScriptDirectory.from_config(config)
assert script.get_revision("0023").down_revision == "0022"
assert script.get_revision("0024").down_revision == "0023"
-
- def test_0024_is_the_head(self):
- from alembic.config import Config
- from alembic.script import ScriptDirectory
-
- from local_deep_research.database.alembic_runner import (
- get_migrations_dir,
- )
-
- config = Config()
- config.set_main_option("script_location", str(get_migrations_dir()))
- script = ScriptDirectory.from_config(config)
- (head,) = script.get_heads()
- assert head == "0024"