gabriel / musehub public
fix task/test-suite-fixes #5 / 12
AI Agent gabriel · 52 days ago · Apr 27, 2026 · Diff

fix: compute content-addressed branch_id and commit_id in test_merge_proposals.py

_branch_with_commit helper used uuid.uuid4().hex (truncated, not sha256) for commit_id and omitted branch_id entirely, causing NOT NULL violations. Replace with fake_id() for commit_id and compute_branch_id() for branch_id.

sha256:9c5e14707d1a5c4868e44246143fd02f5dda43be881470d997d193d6546590d4 sha
sha256:af8d62a0f2cc9cbc34156846ac03cf6ce4fd2b18c59ef3011c211162717536cf snapshot

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:9c5e14707d1a5c4868e44246143fd02f5dda43be881470d997d193d6546590d4 --body "your comment"