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
FOREIGN KEY constraint failed errors during watch sync, identical to previously fixed #28/#42/#53. However, this occurs on v0.9.5 (latest), where the fix from PR #62 should already be included.
Intermittent: Some watch syncs succeed, others fail. Not deterministic.
Compounding: Once FK integrity is broken, subsequent syncs continue to fail.
Survives reindex: After fresh codegraph init + codegraph index, the daemon produces FK errors again on its first watch sync cycle (2 errors observed immediately).
Workaround
Delete .codegraph/ entirely and reinitialize:
rm -rf .codegraph/
codegraph init .
codegraph index .
This resolves it temporarily, but FK errors reappear over time.
Summary
FOREIGN KEY constraint failederrors during watch sync, identical to previously fixed #28/#42/#53. However, this occurs on v0.9.5 (latest), where the fix from PR #62 should already be included.Environment
Reproduction
codegraph init+codegraph index— succeeds cleanlycodegraph serve --mcpdaemon.log (after fresh reinit)
Key observations
codegraph init+codegraph index, the daemon produces FK errors again on its first watch sync cycle (2 errors observed immediately).Workaround
Delete
.codegraph/entirely and reinitialize:This resolves it temporarily, but FK errors reappear over time.
Related