Registry/APM-0005
Case No.
APM-0005
Filed
April 24, 2026
Severity
5 / 5 — CRITICAL

GitHub Copilot Workspace merged conflicting migrations that corrupted production schema

Est. Damage ~$120k
Attribution Anonymous

Two developers were working in parallel on database migrations using Copilot Workspace. Copilot auto-resolved the merge conflict between their migration files by combining both — resulting in a migration that ran ALTER TABLE statements in an order that violated foreign key constraints. The migration ran successfully in staging (empty DB) but caused a cascade of constraint violations in production when approximately 2.3 million rows failed to migrate. Database restore from backup took 6 hours of downtime.