refactor: migrate all musehub_models shim call sites to domain modules and delete shim
All 233+ test files and source files that imported from the re-export shim musehub/db/musehub_models.py have been migrated to import directly from the correct domain-specific module: - musehub_repo_models, musehub_social_models, musehub_release_models - musehub_webhook_models, musehub_intel_models, musehub_identity_models - musehub_abuse_models, musehub_jobs_models
The shim is now deleted. Closes issue #53.
sha256:2e9f6b5cc193e07b2c23d17fb71851db72e6160ba472013f5bccab8351264e79
sha
+473
~1529
−464
symbols
sha256:f46b7f600145c2a9c5e95b4607a2eb9616829faa594a2af0605416e350f629d4
snapshot
+473
symbols added
~1529
symbols modified
−464
symbols removed
−1
dead symbol removed
Semantic Changes
2466 symbols
−
MusehubBackgroundJob
import
import MusehubBackgroundJob L87–87 → moved to tests/test_stream_security_phase4.py
−
MusehubReleaseAsset
import
import MusehubReleaseAsset L42–42 → moved to musehub/services/musehub_releases.py
−
MusehubWebhookDelivery
import
import MusehubWebhookDelivery L46–46 → moved to tests/test_mcp_new_executor_tools.py
~
backfill
~
backfill
~
repair
~
musehub/api/routes/musehub/_ui_helpers.py
.py
3 symbols added, 1 symbol removed, 2 symbols modified
~
musehub/api/routes/musehub/ui_proposals.py
.py
1 symbol added, 1 symbol removed, 3 symbols modified
~
musehub/api/routes/musehub/ui_releases.py
.py
3 symbols added, 1 symbol removed, 2 symbols modified
~
musehub/api/routes/musehub/ui_user_profile.py
.py
5 symbols added, 1 symbol removed, 10 symbols modified
~
main
~
run_gc
~
musehub/services/musehub_intel_providers.py
.py
23 symbols added, 1 symbol removed, 35 symbols modified
~
fail_job
~
musehub/services/musehub_mcp_executor.py
.py
10 symbols added, 1 symbol removed, 10 symbols modified
~
get_mist
~
__init__
+
MusehubReleaseAsset
import
import MusehubReleaseAsset L25–25 ← moved from musehub/db/musehub_models.py
~
get_repo
~
_SnapMap
~
musehub/services/musehub_symbol_indexer.py
.py
6 symbols added, 1 symbol removed, 20 symbols modified
~
musehub/services/musehub_webhook_dispatcher.py
.py
2 symbols added, 1 symbol removed, 11 symbols modified
~
load_dag
~
main
~
tests/test_bundle_content_scanning_phase3.py
.py
3 symbols added, 1 symbol removed, 8 symbols modified
~
tests/test_bundle_rate_limiting_phase4.py
.py
2 symbols added, 1 symbol removed, 7 symbols modified
~
_insert
~
_fetch
~
tests/test_last_commit_for_file_performance.py
.py
3 symbols added, 1 symbol removed, 3 symbols modified
~
tests/test_mcp_executor_no_commit_meta.py
.py
3 symbols added, 1 symbol removed, 2 symbols modified
+
MusehubWebhookDelivery
import
import MusehubWebhookDelivery L39–39 ← moved from musehub/db/musehub_models.py
~
_McpCtx
~
_repo
~
tests/test_mist_phase1_intel_pipeline.py
.py
3 symbols added, 1 symbol removed, 5 symbols modified
~
tests/test_mist_phase3_snapshot_indexer.py
.py
6 symbols added, 1 symbol removed, 16 symbols modified
~
tests/test_mist_phase5_profile_canvas.py
.py
2 symbols added, 1 symbol removed, 7 symbols modified
~
_seed
~
tests/test_phase1_blast_risk_provider.py
.py
2 symbols added, 1 symbol removed, 9 symbols modified
~
_get_row
−
test_cascade_delete_on_proposal_delete
method
async_method test_cascade_delete_on_proposal_delete L547–572
−
test_duplicate_simulation_type_raises
method
async_method test_duplicate_simulation_type_raises L601–626
−
test_simulation_stored_and_retrieved
method
async_method test_simulation_stored_and_retrieved L577–598
−
test_three_simulation_types_coexist
method
async_method test_three_simulation_types_coexist L629–652
−
test_all_merge_conditions_false_while_dep_unmerged
method
async_method test_all_merge_conditions_false_while_dep_unmerged L405–427
−
test_create_proposal_persists_dependency_edges
method
async_method test_create_proposal_persists_dependency_edges L302–328
−
test_create_proposal_rejects_cycle
method
async_method test_create_proposal_rejects_cycle L345–363
−
test_create_proposal_rejects_unknown_dependency
method
async_method test_create_proposal_rejects_unknown_dependency L331–342
−
test_enrich_batch_populates_blocked_by
method
async_method test_enrich_batch_populates_blocked_by L366–401
−
test_merge_proposal_gated_by_unmerged_dep
method
async_method test_merge_proposal_gated_by_unmerged_dep L430–446
−
test_cycle_error_message_contains_ids
method
method test_cycle_error_message_contains_ids L206–212
−
test_merged_nodes_excluded_from_output
method
method test_merged_nodes_excluded_from_output L185–190
−
test_conflicts_by_domain_groups_paths
method
method test_conflicts_by_domain_groups_paths L142–151
−
test_conflicts_surfaced_with_ancestor
method
method test_conflicts_surfaced_with_ancestor L127–133
−
test_domains_affected_lists_changed_domains
method
method test_domains_affected_lists_changed_domains L163–167
−
test_no_conflict_when_only_one_side_changed
method
method test_no_conflict_when_only_one_side_changed L135–140
−
test_no_conflicts_when_disjoint_files
method
method test_no_conflicts_when_disjoint_files L120–125
−
test_merged_deps_excluded_from_blocking
method
method test_merged_deps_excluded_from_blocking L287–293
−
test_two_independent_nodes_in_phase_1
method
method test_two_independent_nodes_in_phase_1 L265–269
−
test_is_stale_when_branch_advances
method
async_method test_is_stale_when_branch_advances L558–604
−
test_conflict_count_matches_merge_result
method
method test_conflict_count_matches_merge_result L236–241
−
test_risk_band_increases_with_conflicts
method
method test_risk_band_increases_with_conflicts L197–204
−
test_risk_delta_positive_when_risk_increases
method
method test_risk_delta_positive_when_risk_increases L216–221
−
test_aggregate_risk_uses_weighted_mean
method
async_method test_aggregate_risk_uses_weighted_mean L486–513
−
test_dimensional_risk_drives_domain_risk
method
async_method test_dimensional_risk_drives_domain_risk L445–483
−
test_blocked_by_populated_when_dep_exists
method
async_method test_blocked_by_populated_when_dep_exists L255–277
−
test_is_blocked_false_when_dep_merged
method
async_method test_is_blocked_false_when_dep_merged L280–309
−
test_latest_simulations_empty_before_run
method
async_method test_latest_simulations_empty_before_run L331–343
−
test_latest_simulations_populated_after_run
method
async_method test_latest_simulations_populated_after_run L312–328
−
test_merge_strategy_defaults_state_overlay
method
method test_merge_strategy_defaults_state_overlay L122–124
−
test_simulation_conflict_count_defaults_none
method
method test_simulation_conflict_count_defaults_none L126–128
−
test_latest_simulations_defaults_empty
method
method test_latest_simulations_defaults_empty L94–105
−
test_conflict_count_none_before_run
method
async_method test_conflict_count_none_before_run L523–544
−
test_conflict_count_populated_after_run
method
async_method test_conflict_count_populated_after_run L547–575
~
tests/test_push_per_batch_commit_phase2.py
.py
4 symbols added, 1 symbol removed, 3 symbols modified
~
tests/test_release_analysis_no_commit_meta.py
.py
3 symbols added, 1 symbol removed, 2 symbols modified
~
db
+
MusehubBackgroundJob
import
import MusehubBackgroundJob L23–23 ← moved from musehub/db/musehub_models.py
~
tests/test_symbol_indexer_no_commit_meta.py
.py
3 symbols added, 1 symbol removed, 2 symbols modified
~
tests/test_symbols_v2_p1_coupling_count.py
.py
3 symbols added, 1 symbol removed, 6 symbols modified
~
tests/test_symbols_v2_p4_intel_fields.py
.py
3 symbols added, 1 symbol removed, 8 symbols modified
~
db
~
db
~
db
~
db
~
db
~
db
~
db
~
db
~
db
~
_fetch
~
_db_repo
~
db
~
db
~
db
~
db
~
db
~
db
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:2e9f6b5cc193e07b2c23d17fb71851db72e6160ba472013f5bccab8351264e79 --body "your comment"
No comments yet. Be the first to start the discussion.