gabriel / musehub public
fix task/fix-symbol-index-batching #1 / 1
AI Agent gabriel · 46 days ago · May 3, 2026 · Diff

fix: batch symbol indexer bulk inserts to stay under asyncpg 32767 param limit

All three bulk insert helpers (_upsert_history_entries, _upsert_symbol_intel, _upsert_hash_occurrences) now chunk rows into batches sized to stay safely under the 32767 parameter limit. Large repos (musehub itself) previously crashed the intel.code job on the first run.

sha256:c7b266d3f9fc351c30d9a95a0f59dbf619edc88360e199c3abe13433c4adf952 sha
sha256:3e19e3fbb51759f300116bb5837152e9a3f66b13c3d8e0e5172b3c5c7df9c5bd snapshot
← Older Oldest on task/fix-symbol-index-batching
All commits
Newer → Latest on task/fix-symbol-index-batching

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:c7b266d3f9fc351c30d9a95a0f59dbf619edc88360e199c3abe13433c4adf952 --body "your comment"