Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

Chain the decision migration onto main's latest head

agent-runner353712e72d38254
diff --git a/core/switch_core/migrations/versions/689d7d8ff913_decision_settings_and_pending_decisions.py b/core/switch_core/migrations/versions/689d7d8ff913_decision_settings_and_pending_decisions.py
index d64994a1f..ca183ae3e 100644
--- a/core/switch_core/migrations/versions/689d7d8ff913_decision_settings_and_pending_decisions.py
+++ b/core/switch_core/migrations/versions/689d7d8ff913_decision_settings_and_pending_decisions.py
@@ -17,7 +17,7 @@ Expand only: a process from before this revision never reads either table,
and decides untagged messages in memory, as it always did.
Revision ID: 689d7d8ff913
-Revises: b7e1d4c9a2f6
+Revises: c3d9a1f7b246
Create Date: 2026-10-27 00:00:00.000000
"""
@@ -28,7 +28,7 @@ import sqlalchemy as sa
from alembic import op
revision: str = "689d7d8ff913"
-down_revision: str | Sequence[str] | None = "b7e1d4c9a2f6"
+down_revision: str | Sequence[str] | None = "c3d9a1f7b246"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None
expand_only: bool = True
diff --git a/core/tests/switch_core/test_migration_decision_routing.py b/core/tests/switch_core/test_migration_decision_routing.py
index 476514192..af94bf9f3 100644
--- a/core/tests/switch_core/test_migration_decision_routing.py
+++ b/core/tests/switch_core/test_migration_decision_routing.py
@@ -16,7 +16,7 @@ from sqlalchemy.ext.asyncio import AsyncConnection, create_async_engine
_CORE = Path(__file__).resolve().parents[2]
_DB = "migration_decision_routing"
-_PRE_MIGRATION_REVISION = "f68b679599ab"
+_PRE_MIGRATION_REVISION = "c3d9a1f7b246"
_MIGRATION_UNDER_TEST = "689d7d8ff913"
_TABLES = ("decision_settings", "pending_decisions")