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

fix: compute content-addressed IDs for all ORM inserts in tests and factories

- Replace bare UUIDs with genesis-computed sha256: IDs throughout test suite - Fix factories.py: compute_issue_id and compute_proposal_id in create_issue/create_proposal - Fix test_sessions.py: use compute_session_id in _db_session helper and unit tests - Fix test_wire_tags.py: use compute_tag_id and fake_id in helpers and inline inserts - Fix test_repository_service.py: compute_branch_id and compute_collaborator_id - Fix test_mcp_read_tools.py: compute_branch_id and compute_collaborator_id - Fix test_mcp_write_tools.py: compute_branch_id, compute_issue_id, fake_id for ghost repos - Fix test_releases.py: compute_release_id in unit tests - Fix test_webhooks.py: compute_webhook_id in unit tests - Fix test_api_snapshots.py: add missing fake_id import - Fix musehub/mcp/write_tools/collaborators.py: compute_collaborator_id in service - Fix musehub/mcp/smoke tests: factories now pass issue_id and proposal_id

sha256:73de8cc7d51b87bc0fa9ee5a10e2ca742e363db7aa070a77abed6fcbc487eab0 sha
sha256:802fe9b953349adb00a10138b730771fdb15de4c088f17bb15ef5ddadb15e93d 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:73de8cc7d51b87bc0fa9ee5a10e2ca742e363db7aa070a77abed6fcbc487eab0 --body "your comment"