feat
patch
migrate
task/phase2-legacy-store-migration
#1 / 1
feat(migrate): Phase 2 — migrate legacy dirs to unified object store
- migrate() deletes .muse/commits/ and .muse/snapshots/ after writing all content to the unified object store (guarded by dry_run flag) - init_repo_dirs() no longer creates commits_dir or snapshots_dir - Added 12 TDD tests in test_phase2_legacy_store_migration.py - Updated test_code_migrate.py helpers to read from object store instead of the now-deleted legacy directories
sha256:2c1ca28035d516023ea39067cd17c86e38631cd982a6ec9aee235870e015d373
sha
+45
~11
symbols
sha256:18f5d97c8190e8cb3631d610c12fb6ffd2dd6b08d0d9914e369a61ba48367e82
snapshot
+45
symbols added
~11
symbols modified
0
dead code introduced
Semantic Changes
56 symbols
+
test_init_does_not_create_commits_dir
method
method test_init_does_not_create_commits_dir L337–342
+
test_init_does_not_create_snapshots_dir
method
method test_init_does_not_create_snapshots_dir L344–349
+
test_legacy_commit_fields_preserved_after_migrate
method
method test_legacy_commit_fields_preserved_after_migrate L199–218
+
test_legacy_commit_readable_after_migrate
method
method test_legacy_commit_readable_after_migrate L184–197
+
test_two_legacy_commits_both_readable_after_migrate
method
method test_two_legacy_commits_both_readable_after_migrate L220–238
+
test_commits_dir_removed_after_migrate
method
method test_commits_dir_removed_after_migrate L271–282
+
test_dry_run_does_not_remove_commits_dir
method
method test_dry_run_does_not_remove_commits_dir L307–317
+
test_dry_run_does_not_remove_snapshots_dir
method
method test_dry_run_does_not_remove_snapshots_dir L319–329
+
test_empty_commits_dir_removed_after_migrate
method
method test_empty_commits_dir_removed_after_migrate L297–305
+
test_snapshots_dir_removed_after_migrate
method
method test_snapshots_dir_removed_after_migrate L284–295
+
test_legacy_snapshot_in_object_store_after_migrate
method
method test_legacy_snapshot_in_object_store_after_migrate L246–263
+
test_returns_none_for_id_only_in_commits_dir
method
method test_returns_none_for_id_only_in_commits_dir L170–176
← Older
Oldest on task/phase2-legacy-store-migration
All commits
Newer →
Latest on task/phase2-legacy-store-migration
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:2c1ca28035d516023ea39067cd17c86e38631cd982a6ec9aee235870e015d373 --body "your comment"
No comments yet. Be the first to start the discussion.