fix: object_state uses _object_path_with_fallback, consistent with has_object
object_state() was calling object_path() directly, missing the 4→2 char shard fallback that has_object() uses. Also corrects iter_stored_objects() docstring which falsely claimed legacy layout support.
sha256:a0e6c070bd86980b201d95df43aa0ba93e852b31ffed76035827ea52f197504b
sha
+84
~2
−1
symbols
sha256:5c244935313a2dcafcc4bbcbe185cea8d3d4471a0b9eb3e88baa80c626863ecd
snapshot
+84
symbols added
~2
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes
87 symbols
+
test_all_manifest_objects_survive_full_gc
method
method test_all_manifest_objects_survive_full_gc L641–657
+
test_snapshot_manifest_objects_at_canonical_path
method
method test_snapshot_manifest_objects_at_canonical_path L622–639
+
test_c2_object_state_present_after_write
method
method test_c2_object_state_present_after_write L231–235
+
test_c3_iter_stored_objects_finds_written
method
method test_c3_iter_stored_objects_finds_written L237–243
+
test_c4_has_object_and_object_state_agree_absent
method
method test_c4_has_object_and_object_state_agree_absent L253–259
+
test_c4_has_object_and_object_state_agree_present
method
method test_c4_has_object_and_object_state_agree_present L245–251
+
test_c5_object_path_canonical_location
method
method test_c5_object_path_canonical_location L261–270
+
test_c6_object_state_missing_when_absent_no_promisors
method
method test_c6_object_state_missing_when_absent_no_promisors L272–278
+
test_c7_object_state_present_beats_promisor
method
method test_c7_object_state_present_beats_promisor L288–295
+
test_c7_object_state_promised_when_absent_with_promisor
method
method test_c7_object_state_promised_when_absent_with_promisor L280–286
+
test_reachable_object_survives_full_gc
method
method test_reachable_object_survives_full_gc L356–363
+
test_object_on_secondary_branch_survives_full_gc
method
method test_object_on_secondary_branch_survives_full_gc L393–408
+
test_object_on_three_branches_all_survive
method
method test_object_on_three_branches_all_survive L410–423
+
test_shared_object_referenced_by_two_branches_survives
method
method test_shared_object_referenced_by_two_branches_survives L425–436
+
test_full_gc_does_not_delete_prefixed_manifest_objects
method
method test_full_gc_does_not_delete_prefixed_manifest_objects L497–516
+
test_iter_stored_objects_uses_prefixed_ids
method
method test_iter_stored_objects_uses_prefixed_ids L467–476
+
test_reachable_set_matches_stored_set_for_live_objects
method
method test_reachable_set_matches_stored_set_for_live_objects L478–495
+
test_grace_period_protects_recent_objects
method
method test_grace_period_protects_recent_objects L338–345
+
test_reachable_on_non_default_branch_survives
method
method test_reachable_on_non_default_branch_survives L320–328
+
test_maintenance_gc_retains_all_reachable_objects
method
method test_maintenance_gc_retains_all_reachable_objects L586–606
+
test_maintenance_gc_task_calls_run_gc_with_full_true
method
method test_maintenance_gc_task_calls_run_gc_with_full_true L565–584
+
test_prune_does_not_remove_committed_object
method
method test_prune_does_not_remove_committed_object L542–554
+
test_shelved_objects_survive_non_full_gc
method
method test_shelved_objects_survive_non_full_gc L668–682
+
test_filename_is_remaining_62_hex_chars
method
method test_filename_is_remaining_62_hex_chars L142–149
+
test_idempotent_returns_false_on_second_write
method
method test_idempotent_returns_false_on_second_write L151–157
+
test_shard_prefix_is_first_two_hex_chars
method
method test_shard_prefix_is_first_two_hex_chars L133–140
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:a0e6c070bd86980b201d95df43aa0ba93e852b31ffed76035827ea52f197504b --body "your comment"
No comments yet. Be the first to start the discussion.