feat: end-to-end bridge roundtrip tests + fix _count_muse_commits_since
- Add tests/test_bridge_roundtrip.py: 41 tests across 8 tiers covering the full git→muse→git bidirectional cycle using a realistic multi-branch, multi-author, multi-tag git fixture - Fix _count_muse_commits_since() in bridge.py: was reading from the wrong path (.muse/objects/commits) and wrong format (JSON); now uses store's read_commit() which reads the correct .muse/commits/sha256/*.msgpack files
sha256:390872898d28301af72e8b767408b3317c95a15c465b27f540be22c1ab090806
sha
+73
~1
symbols
sha256:317fcf9ec431cf77a98e115ac4efb5d1be445b58c19aac4b6ee7270775f279da
snapshot
+73
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
74 symbols
+
test_muse_commits_visible_after_import_then_export
method
method test_muse_commits_visible_after_import_then_export L691–731
+
test_binary_ish_file_sha256_preserved_through_import
method
method test_binary_ish_file_sha256_preserved_through_import L943–974
+
test_text_file_sha256_preserved_import_export
method
method test_text_file_sha256_preserved_import_export L976–1008
+
test_status_detects_muse_only_commits_as_export_drift
method
method test_status_detects_muse_only_commits_as_export_drift L1112–1157
+
test_status_detects_new_git_commits_as_drift
method
method test_status_detects_new_git_commits_as_drift L1088–1110
+
test_status_shows_last_import_sha_in_state
method
method test_status_shows_last_import_sha_in_state L1159–1178
+
test_status_shows_zero_drift_after_fresh_import
method
method test_status_shows_zero_drift_after_fresh_import L1067–1086
+
test_status_text_mode_shows_drift_section
method
method test_status_text_mode_shows_drift_section L1180–1197
+
test_main_branch_has_at_least_4_commits
method
method test_main_branch_has_at_least_4_commits L328–332
+
test_export_auth_module_appears_in_git
method
method test_export_auth_module_appears_in_git L581–590
+
test_export_git_message_references_muse_commit
method
method test_export_git_message_references_muse_commit L556–568
+
test_export_idempotent_no_duplicate_commit
method
method test_export_idempotent_no_duplicate_commit L627–644
+
test_export_updates_bridge_state_last_export
method
method test_export_updates_bridge_state_last_export L604–615
+
test_import_all_branches_imports_feature_branch
method
method test_import_all_branches_imports_feature_branch L401–414
+
test_import_commit_messages_preserved
method
method test_import_commit_messages_preserved L416–429
+
test_incremental_import_adds_new_commits
method
method test_incremental_import_adds_new_commits L742–771
+
test_incremental_import_no_duplicates
method
method test_incremental_import_no_duplicates L773–795
+
test_three_round_incremental_accumulates
method
method test_three_round_incremental_accumulates L797–819
+
test_muse_modification_overwrites_in_git
method
method test_muse_modification_overwrites_in_git L889–932
+
test_muse_native_file_survives_export_then_reimport
method
method test_muse_native_file_survives_export_then_reimport L830–887
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:390872898d28301af72e8b767408b3317c95a15c465b27f540be22c1ab090806 --body "your comment"
No comments yet. Be the first to start the discussion.