Files
stack/scripts
kert e81213c80c fix(scripts): chunk Phase C deletes to dodge SQLite param cap
DELETE ... WHERE itemID IN (?,?,...) with 33k+ host parameters
trips SQLITE_LIMIT_VARIABLE_NUMBER (default 32766 on modern builds,
999 on older). Batch by 500 so the cleanup runs to completion
regardless of build limits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 14:46:08 -04:00
..