When creating/restoring snapshots with 4+ tables, the progress percentage calculation overflowed u8 (e.g. 4*80=320 > 255), causing a panic that left the IPC call unresolved. Also deduplicate fetch_foreign_keys_raw call. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>