mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-27 03:46:39 +08:00
76398c8bc4
Resolve the revision-graph conflict introduced by the release line. Conflicts - tests/integration/persistence/test_rag_document_identity.py: master had independently introduced the same dynamic-head helper (`current_head`) plus a `DOCUMENT_IDENTITY_REVISION` constant, and it explicitly upgrades to that revision. Keep master's semantics (the explicit revision matters because upgrading to the head now also traverses the TOTP branch) while keeping the module-level alembic imports on this branch. New migration - 0030_merge_totp_into_release joins the TOTP branch's own merge revision (0026_merge_totp_and_rag_identity) with the release head (0029_merge_rag_identity). Both reached 0025_rag_document_identity without including each other, which left Alembic with two heads and made `upgrade head` fail with "Multiple head revisions are present". Verification - Single Alembic head confirmed (0030_merge_totp_into_release). - tests/integration/persistence/test_rag_document_identity.py: 34 passed. - Full fast integration suite: 356 passed, 84 skipped.