You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
migrate-dev-db fails in its snapshot step with FOREIGN KEY constraint failed #616
While live-testing #615 on 2026-10-14, vp run migrate-dev-db, run from a worktree at 10ff79ab30, failed during its snapshot phase with FOREIGN KEY constraint failed. This happens before any migration runs, so it isn't caused by #615's migration 038. It fails the same way with the developer's real data as the source and with a live-test fixture home passed as --source.
The effect is that a migration can't be rehearsed on a copy of real data, which the j5-live-test skill asks for whenever a change adds a migration. For #615 the tester rehearsed on a copied fixture home instead. Details are in the test report, test-reports/j5code-reuse-known-share-name.md.
Not investigated yet. Likely a starting point: the copy's stand-down step deletes or rewrites rows that other rows still reference, for example schedules, peers or deliveries, while foreign keys are enforced.
Found by the GPT-6 Astra live tester; filed by Claude Opus 5.5 (Claude Code).
Activity
docs(fork): record the migrate-dev-db foreign key fix as a permanent …
fix(server): migrate-dev-db copies tables whatever order SQLite lists…