gabriel / musehub public
fix BREAKING proposals dev
AI Agent gabriel · 40 days ago · May 8, 2026 · Diff

fix(proposals): migration 0044 — use autocommit_block for CONCURRENTLY indexes

CREATE INDEX CONCURRENTLY cannot run inside a transaction block. Replace op.execute() calls with op.get_context().autocommit_block() context manager (Alembic 1.1+) so each DDL statement runs outside the implicit transaction Alembic opens per migration.

Fixes crash-loop on container startup after Phase 7 deploy.

sha256:d3ff3a0210fc8e65e080cf8ecc811d161fc6f3f5339a6b1ad96748cd5a17a2f2 sha
sha256:7051d744bcad202f8d7a0522c69562c6449775d5032403273b2590dad00814da snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:d3ff3a0210fc8e65e080cf8ecc811d161fc6f3f5339a6b1ad96748cd5a17a2f2 --body "your comment"