test: migrate test suite to unified object store — replace compute_* shims and snapshot_path with hash_commit/hash_snapshot and object_path
sha256:64b7c97d15661242a344ee8ac332982768d3b97fb298d5f4c2d727eb1857ccbf
sha
+53
~453
−74
symbols
sha256:f3067355963cf6d179f0483a8ded71cda04a9c1f1eba3e098f5aeb10c0961019
snapshot
+53
symbols added
~453
symbols modified
−74
symbols removed
0
dead code introduced
Semantic Changes
580 symbols
−
test_different_fields_different_bytes
method
method test_different_fields_different_bytes L255–259
−
test_sha256_of_bytes_equals_compute_commit_id
method
method test_sha256_of_bytes_equals_compute_commit_id L242–247
−
test_different_manifests_different_bytes
method
method test_different_manifests_different_bytes L163–167
−
test_sha256_of_bytes_equals_compute_snapshot_id
method
method test_sha256_of_bytes_equals_compute_snapshot_id L142–147
~
tests/test_integrity_I4_msgpack_size.py
.py
8 symbols added, 10 symbols removed, 18 symbols modified
−
test_oversized_commit_produces_json_error_not_traceback
method
method test_oversized_commit_produces_json_error_not_traceback L618–664
−
test_read_commit_returns_none_for_oversized_file
method
method test_read_commit_returns_none_for_oversized_file L244–252
−
test_read_snapshot_returns_none_for_oversized_file
method
method test_read_snapshot_returns_none_for_oversized_file L254–264
−
test_read_commit_checks_stat_before_read_bytes
method
method test_read_commit_checks_stat_before_read_bytes L171–196
−
test_read_snapshot_checks_stat_before_read_bytes
method
method test_read_snapshot_checks_stat_before_read_bytes L198–221
−
test_warning_logged_for_oversized_commit
method
method test_warning_logged_for_oversized_commit L572–589
−
test_warning_logged_for_oversized_snapshot
method
method test_warning_logged_for_oversized_snapshot L591–606
+
test_corrupt_commit_produces_json_error_not_traceback
method
method test_corrupt_commit_produces_json_error_not_traceback L588–632
+
test_read_commit_returns_none_for_corrupt_object
method
method test_read_commit_returns_none_for_corrupt_object L209–223
+
test_read_snapshot_returns_none_for_corrupt_object
method
method test_read_snapshot_returns_none_for_corrupt_object L225–234
+
test_read_commit_corrupt_object_returns_none
method
method test_read_commit_corrupt_object_returns_none L170–184
+
test_read_snapshot_corrupt_object_returns_none
method
method test_read_snapshot_corrupt_object_returns_none L186–195
+
test_warning_logged_for_corrupt_commit
method
method test_warning_logged_for_corrupt_commit L542–560
+
test_warning_logged_for_corrupt_snapshot
method
method test_warning_logged_for_corrupt_snapshot L562–576
~
tests/test_integrity_I5_commit_integrity.py
.py
5 symbols added, 6 symbols removed, 53 symbols modified
−
test_truncated_msgpack_is_overwritten
method
method test_truncated_msgpack_is_overwritten L261–273
−
test_commit_id_mismatch_raises_os_error
method
method test_commit_id_mismatch_raises_os_error L281–295
+
test_corrupt_existing_is_skipped_by_write_commit
method
method test_corrupt_existing_is_skipped_by_write_commit L234–248
+
test_empty_existing_is_skipped_by_write_commit
method
method test_empty_existing_is_skipped_by_write_commit L250–258
+
test_truncated_existing_is_skipped_by_write_commit
method
method test_truncated_existing_is_skipped_by_write_commit L260–270
+
test_commit_id_mismatch_detected_at_read_time
method
method test_commit_id_mismatch_detected_at_read_time L278–297
~
tag_path
−
test_apply_pack_commits_written_excludes_integrity_violation
method
method test_apply_pack_commits_written_excludes_integrity_violation L162–176
−
test_apply_pack_logs_critical_on_store_integrity_violation
method
method test_apply_pack_logs_critical_on_store_integrity_violation L128–143
+
test_apply_pack_commits_written_excludes_impostor_blocked
method
method test_apply_pack_commits_written_excludes_impostor_blocked L161–176
+
test_apply_pack_impostor_commit_not_readable
method
method test_apply_pack_impostor_commit_not_readable L130–142
−
test_apply_wire_mpack_writes_no_loose_objects
function
function test_apply_wire_mpack_writes_no_loose_objects L265–273
+
test_apply_wire_mpack_objects_accessible_after_apply
function
function test_apply_wire_mpack_objects_accessible_after_apply L265–274
~
tests/test_pull_missing_snapshot_guard.py
.py
1 symbol added, 1 symbol removed, 18 symbols modified
−
test_I3_commit_exists_uses_msgpack_extension
method
method test_I3_commit_exists_uses_msgpack_extension L164–173
−
test_I4_json_shadow_does_not_fool_commit_exists
method
method test_I4_json_shadow_does_not_fool_commit_exists L175–182
+
test_I3_commit_exists_uses_unified_object_store
method
method test_I3_commit_exists_uses_unified_object_store L163–171
+
test_I4_file_at_wrong_path_does_not_fool_commit_exists
method
method test_I4_file_at_wrong_path_does_not_fool_commit_exists L173–181
~
tests/test_rebase_missing_snapshot_guard.py
.py
1 symbol added, 1 symbol removed, 13 symbols modified
~
_commit
~
tests/test_security_agent_impersonation.py
.py
2 symbols added, 2 symbols removed, 5 symbols modified
~
tests/test_write_commit_snapshot_hash_verify.py
.py
23 symbols added, 24 symbols removed, 10 symbols modified
−
test_commit_and_snapshot_both_readable_after_repair
method
method test_commit_and_snapshot_both_readable_after_repair L376–399
−
test_parent_chain_survives_middle_commit_corruption
method
method test_parent_chain_survives_middle_commit_corruption L401–425
−
test_snapshot_repair_does_not_affect_sibling_snapshots
method
method test_snapshot_repair_does_not_affect_sibling_snapshots L427–449
−
test_corrupt_snapshot_id_in_commit_cannot_forge_different_snapshot
method
method test_corrupt_snapshot_id_in_commit_cannot_forge_different_snapshot L459–478
−
test_injected_manifest_entry_is_removed_on_snapshot_repair
method
method test_injected_manifest_entry_is_removed_on_snapshot_repair L480–496
−
test_50_sequential_repairs_all_succeed
method
method test_50_sequential_repairs_all_succeed L551–561
−
test_concurrent_write_commit_repairs_corrupt_snapshot_id
method
method test_concurrent_write_commit_repairs_corrupt_snapshot_id L506–530
−
test_concurrent_write_snapshot_repairs_corrupt_manifest
method
method test_concurrent_write_snapshot_repairs_corrupt_manifest L532–549
−
test_hard_integrity_violation_still_raises
method
method test_hard_integrity_violation_still_raises L250–277
−
test_repairs_corrupt_parent_commit_id
method
method test_repairs_corrupt_parent_commit_id L236–248
−
test_repairs_corrupt_object_id_in_manifest
method
method test_repairs_corrupt_object_id_in_manifest L299–324
−
test_repairs_missing_file_in_manifest
method
method test_repairs_missing_file_in_manifest L355–366
+
test_clean_commit_and_snapshot_both_readable
method
method test_clean_commit_and_snapshot_both_readable L326–340
+
test_corrupting_one_snapshot_does_not_affect_siblings
method
method test_corrupting_one_snapshot_does_not_affect_siblings L362–379
+
test_parent_chain_corrupt_middle_unreadable
method
method test_parent_chain_corrupt_middle_unreadable L342–360
+
test_corrupt_snapshot_id_in_commit_rejected_at_read
method
method test_corrupt_snapshot_id_in_commit_rejected_at_read L389–407
+
test_injected_manifest_entry_rejected_at_read
method
method test_injected_manifest_entry_rejected_at_read L409–427
+
test_50_sequential_commits_all_readable
method
method test_50_sequential_commits_all_readable L473–482
+
test_concurrent_write_commit_all_idempotent
method
method test_concurrent_write_commit_all_idempotent L437–455
+
test_concurrent_write_snapshot_all_idempotent
method
method test_concurrent_write_snapshot_all_idempotent L457–471
+
test_content_hash_mismatch_skipped_not_raised
method
method test_content_hash_mismatch_skipped_not_raised L207–231
+
test_corrupt_message_detected_at_read
method
method test_corrupt_message_detected_at_read L183–193
+
test_corrupt_parent_commit_id_detected_at_read
method
method test_corrupt_parent_commit_id_detected_at_read L195–205
+
test_corrupt_snapshot_id_detected_at_read
method
method test_corrupt_snapshot_id_detected_at_read L162–181
+
test_corrupt_object_id_in_manifest_detected_at_read
method
method test_corrupt_object_id_in_manifest_detected_at_read L253–269
+
test_extra_manifest_entry_detected_at_read
method
method test_extra_manifest_entry_detected_at_read L271–285
+
test_missing_manifest_entry_detected_at_read
method
method test_missing_manifest_entry_detected_at_read L302–316
~
Manifest
Older
refactor: migrate test suite to unified object store IDs (batche…
sha256:b0e91fbefb1a2ce2d5cd47f2ac09380c9c25f961d8b2d280b5ccbd0d9e8bd350
All commits
Newer
fix: update tests and impl for unified object store migration
sha256:a61ac0eff73b2b1c688d3834a223075ebf069b20ac84b06d0f9833d7f88cb792
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:64b7c97d15661242a344ee8ac332982768d3b97fb298d5f4c2d727eb1857ccbf --body "your comment"
No comments yet. Be the first to start the discussion.