fix: resolve Alembic multiple heads
The terminal_sessions migration and drop_tool_configs migration both pointed to add_tool_definition_manifests as their down_revision, creating two heads. Update drop migration to depend on terminal_sessions instead, restoring a single linear chain.
This commit is contained in:
@@ -13,7 +13,7 @@ import sqlalchemy as sa
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = "2026_05_28_drop_tool_configs_and_config_folders"
|
||||
down_revision: Union[str, None] = "2026_05_28_add_tool_definition_manifests"
|
||||
down_revision: Union[str, None] = "2026_05_28_add_terminal_sessions"
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
@@ -350,9 +350,7 @@ def compute_image_tag(tool_name: str, manifest: dict) -> str:
|
||||
return f"headquarter/{safe_name}-{hash_suffix}:latest"
|
||||
|
||||
|
||||
def merge_with_config(
|
||||
manifest: dict, profile: dict | None = None
|
||||
) -> dict:
|
||||
def merge_with_config(manifest: dict, profile: dict | None = None) -> dict:
|
||||
"""Merge ConfigProfile overrides into a manifest.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user