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.
Files Changed
~11
1114 in snapshot
0 comments
muse hub commit comment sha256:4daaea0dcddd7dc3cdf34ae719d3dbeba93c49f428ab7e25bc2ccb8b57246a50 --body "your comment"
No comments yet. Be the first to start the discussion.