gabriel / musehub public
fix BREAKING dev #82 / 100
AI Agent gabriel · 18 days ago · Oct 29, 2026 · Diff

fix: pre-existing test debt found during pre-prod full-suite run

- musehub_repo_models.py: add server_default="" to MusehubVersionTag.signer_public_key/ signature, matching migration 0079's actual DB-level default. Closes a real ORM<->migration drift that broke 'alembic check'. - Remove --no-init from 8 test files + bench_cli.py: muse's hub repo create flag was renamed to --initialize with inverted default polarity at some point; 'no initial commit' is already the current default, so the flag is just deleted, not replaced. Fixes test_clone_xs_unit, test_fetch_xs_unit, test_push_xs_unit, test_repair_commit_endpoint, test_serve_corrupt_manifest_recovery, test_push_delta_only_parent_manifest, test_issue_61_clone_after_push. - test_mcp_dispatcher.py: bump stale hardcoded tool count 125->127 (verified no duplicate tool registrations -- 127 distinct names). - test_genesis_ids.py: fix two unrelated test-fixture gaps -- missing required 'accepted' field on CollaboratorResponse, and an unmocked session.get() call in create_proposal's snapshot-ID lookup returning an unconfigured MagicMock instead of None.

Not touched (flagged separately, need a human decision): deploy/cloudwatch-alerts.sh is missing a disk-usage alarm, SMS escalation, and uses an absolute DB-connection threshold instead of the percentage-based one tests expect -- real alerting policy, not test staleness. Also not touched: test_opengraph_repo_cards.py failures are a local-environment gap (cairo library not installed, no S3 bucket configured for local test runs), not a code bug.

sha256:4daaea0dcddd7dc3cdf34ae719d3dbeba93c49f428ab7e25bc2ccb8b57246a50 sha
~21 symbols
11 changed · 1114 in snapshot files
sha256:3bf27891ffc203253b679041d32e16449265b3c23d16fbab1932f85d218b7f6b snapshot
~21
symbols modified
11
files changed
1114
files in snapshot
0
dead code introduced
Semantic Changes 21 symbols
~ tests/bench_cli.py .py 2 symbols modified
~ tests/test_clone_xs_unit.py .py 1 symbol modified
Files Changed
~11
1114 in 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:4daaea0dcddd7dc3cdf34ae719d3dbeba93c49f428ab7e25bc2ccb8b57246a50 --body "your comment"