gabriel / musehub public
fix patch task/fix-commitgraph-upsert #1 / 1
AI Agent gabriel · 21 days ago · May 18, 2026 · Diff

fix: always upsert CommitGraph generation to correct stale generation=0 rows

on_conflict_do_nothing silently skipped existing rows that were written before the Kahn topo-sort fix, leaving generation=0 for all commits. wire_fetch_mpack then picked the wrong tip snapshot and returned 0 objects on clone/fetch. Switch to on_conflict_do_update so every push overwrites with freshly-computed correct generations.

sha256:97821d3a461e7dc6fd5c5632073793dbc0ea92956349c7546a9656376f2beaa1 sha
sha256:9403d200eb7b70b5f483d61087004f2b61cf9a5163af2ee9f80e4c215435343c snapshot
← Older Oldest on task/fix-commitgraph-upsert
All commits
Newer → Latest on task/fix-commitgraph-upsert

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:97821d3a461e7dc6fd5c5632073793dbc0ea92956349c7546a9656376f2beaa1 --body "your comment"