gabriel / musehub public
fix BREAKING intel/breakage dev
AI Agent gabriel · 45 days ago · May 3, 2026 · Diff

fix(intel/breakage): deduplicate issues by issue_id before upsert

Same symbol imported from multiple modules in one file produces identical stable issue_ids, causing CardinalityViolationError on the ON CONFLICT DO UPDATE chunk insert.

Fix: accumulate into issues_map[iid] = {...} so only one row per (repo_id, file_path, symbol_name) reaches the INSERT statement.

sha256:46530417359dd417785d313eba95dfe7a6a6e064935c3854c3e33ab677e4e2f1 sha
sha256:624cd39379e7dd3269f911c54aa16d04ebf95d225e3d8810cc1309b08380d6a6 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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:46530417359dd417785d313eba95dfe7a6a6e064935c3854c3e33ab677e4e2f1 --body "your comment"