You're offline — showing cached data

MC-4214

[auto-review] The `MIGRATIONS` list in `migrate.py` is being updated with raw `ALTER
2026-06-13 08:54:07 SAST
Home Board MC-4214

[auto-review] The `MIGRATIONS` list in `migrate.py` is being updated with raw `ALTER

**Severity:** critical **Location:** mission-control/migrate.py:216 **Flagged by:** gemini **Issue:** The `MIGRATIONS` list in `migrate.py` is being updated with raw `ALTER TAB...
State Done Next Action Closed Owner Luci Runtime Closed Age 18d ago
MC-4214
Ticket is done; runtime is closed. · profile claude_opus_1m_medium · cwd /home/lucienne/workspace/mission-control · uptime 18d 4h · last activity 18d 2h ago

Description

MC-4214
**Severity:** critical **Location:** mission-control/migrate.py:216 **Flagged by:** gemini **Issue:** The `MIGRATIONS` list in `migrate.py` is being updated with raw `ALTER TABLE` statements that are not idempotent. This duplicates the logic in the new, idempotent migration scripts `migrations/017_chat_thread_runtime_metadata.py` and `migrations/018_chat_thread_effort_and_settings.py`. Running `migrate.py` would likely attempt to execute these raw SQL statements, which would fail on a second run and could halt a deployment. **Suggested fix:** Remove the newly added `ALTER TABLE` statements for the `chat_threads` table from the `MIGRATIONS` list in `migrate.py`. The migration logic is correctly handled by the new scripts in the `migrations/` directory. --- Found by mc-auto-review on 2026-05-26 06:02 SAST. Repos reviewed: workspace, mission-control. auto-review-hash: d2ff3ec4a6c2

Activity

done
Luci is working...
Live
No activity yet
Help