feat
BREAKING
task/commit-id-v2-migrate
#1 / 1
feat: implement muse code migrate for commit-id-v2 DAG replay
Replaces the old git→Muse bridge with the v2 commit ID rewriter: - muse/core/migrate.py: DAG BFS collect, topological sort, v2 ID recompute, bare-sig normalisation, legacy object path migration - muse/cli/commands/migrate.py: CLI wrapper with --dry-run and --json - tests/test_code_migrate.py: 30 tests covering preflight, dry-run, single commit, linear chain, merge commit, branch heads, sig normalisation, idempotency, object path migration, legacy fields - tests/test_migrate.py: deleted (git-bridge; bridge will be muse code bridge)
sha256:dea16257146f6afbf50ae3b52dd15e4eacd236ff1e7338c70c53ee6912075f9a
sha
+109
~2
−135
symbols
sha256:4913a79b99e7c17a9c5d7eadec396adf7ea8bea421e878089e73ed56847721fc
snapshot
+109
symbols added
~2
symbols modified
−135
symbols removed
0
dead code introduced
Semantic Changes
246 symbols
+
test_dry_run_reports_old_to_new_mapping
method
method test_dry_run_reports_old_to_new_mapping L281–300
+
test_v1_raw_write_is_unreadable_by_read_commit
method
method test_v1_raw_write_is_unreadable_by_read_commit L228–234
+
test_format_version_in_raw_dict_ignored
method
method test_format_version_in_raw_dict_ignored L758–772
+
test_old_branch_key_in_raw_dict_handled
method
method test_old_branch_key_in_raw_dict_handled L774–806
+
test_chain_all_readable_after_migrate
method
method test_chain_all_readable_after_migrate L384–397
+
test_merge_commit_both_parents_cascaded
method
method test_merge_commit_both_parents_cascaded L432–496
+
test_blob_already_at_canonical_not_duplicated
method
method test_blob_already_at_canonical_not_duplicated L718–734
+
test_dry_run_reports_blobs_to_migrate
method
method test_dry_run_reports_blobs_to_migrate L736–749
+
test_legacy_blob_moved_to_canonical_path
method
method test_legacy_blob_moved_to_canonical_path L683–699
−
test_all_manifest_oids_exist_in_object_store
method
method test_all_manifest_oids_exist_in_object_store L498–517
−
test_binary_file_objects_written_correctly
method
method test_binary_file_objects_written_correctly L552–569
−
test_every_commit_references_existing_snapshot
method
method test_every_commit_references_existing_snapshot L534–550
−
test_object_count_matches_unique_file_versions
method
method test_object_count_matches_unique_file_versions L571–584
−
test_silent_drop_warns_on_unreadable_blob
method
method test_silent_drop_warns_on_unreadable_blob L598–622
−
test_stored_object_sha256_matches_filename
method
method test_stored_object_sha256_matches_filename L519–532
−
test_json_dry_run_done_event_has_dry_run_true
method
method test_json_dry_run_done_event_has_dry_run_true L395–404
−
test_json_emits_branch_start_and_done
method
method test_json_emits_branch_start_and_done L355–365
−
test_all_flag_migrates_multiple_branches
method
method test_all_flag_migrates_multiple_branches L408–419
−
test_branch_flag_selects_specific_branch
method
method test_branch_flag_selects_specific_branch L421–432
−
test_deleted_file_not_in_final_snapshot
method
method test_deleted_file_not_in_final_snapshot L267–277
−
test_excluded_files_not_in_object_store
method
method test_excluded_files_not_in_object_store L291–300
−
test_root_level_normal_file_not_excluded
method
method test_root_level_normal_file_not_excluded L142–144
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:dea16257146f6afbf50ae3b52dd15e4eacd236ff1e7338c70c53ee6912075f9a --body "your comment"
No comments yet. Be the first to start the discussion.