feat
patch
task/supercharge-pack-objects
#1 / 1
feat: supercharge pack-objects, unpack-objects, verify-pack
- Add duration_ms and exit_code to pack-objects --dry-run JSON output - Add object_bytes to pack-objects --dry-run (total uncompressed payload size so agents can choose buffer-vs-stream before committing to transfer) - Add duration_ms and exit_code to unpack-objects JSON output - Add duration_ms and exit_code to verify-pack JSON output (both full and --stat paths) - Delete test_cmd_pack_unpack.py and test_cmd_verify_pack.py — legacy files using pre-sha256: object IDs, fully superseded by mpack_cmd_* versions - Add test_pack_objects_supercharge.py (114 tests, all GREEN): dry-run schema, object_bytes correctness, unpack/verify duration_ms and exit_code, stat mode, idempotency, and existing field regression
sha256:ad589deb75bfb6ba249cae649d752f6a420217b52f400afb9f578632d6366fd6
sha
+74
~4
−153
symbols
sha256:7947a1a5bf514f7ffb8d285ced1ffcd6783d45453f215212f0a7e130cc41c698
snapshot
+74
symbols added
~4
symbols modified
−153
symbols removed
0
dead code introduced
Semantic Changes
231 symbols
+
test_dry_run_duration_ms_non_negative
method
method test_dry_run_duration_ms_non_negative L136–142
+
test_dry_run_exit_code_is_zero_on_success
method
method test_dry_run_exit_code_is_zero_on_success L152–158
+
test_dry_run_object_bytes_matches_content_size
method
method test_dry_run_object_bytes_matches_content_size L169–176
+
test_dry_run_object_bytes_sums_multiple_objects
method
method test_dry_run_object_bytes_sums_multiple_objects L178–185
+
test_dry_run_object_bytes_zero_for_empty_pack
method
method test_dry_run_object_bytes_zero_for_empty_pack L195–202
+
test_idempotent_second_unpack_skips_all
method
method test_idempotent_second_unpack_skips_all L340–346
+
test_unpack_duration_ms_under_two_seconds
method
method test_unpack_duration_ms_under_two_seconds L295–304
+
test_unpack_exit_code_zero_on_success
method
method test_unpack_exit_code_zero_on_success L288–293
+
test_verify_duration_ms_under_two_seconds
method
method test_verify_duration_ms_under_two_seconds L406–412
+
test_verify_exit_code_nonzero_on_corrupt
method
method test_verify_exit_code_nonzero_on_corrupt L382–390
+
compute_snapshot_id
import
import compute_snapshot_id L30–30 ← moved from tests/test_cmd_pack_unpack.py
−
test_empty_stdin_treated_as_empty_pack
method
method test_empty_stdin_treated_as_empty_pack L240–244
−
compute_snapshot_id
import
import compute_snapshot_id L19–19 → moved to tests/test_pack_objects_supercharge.py
−
test_quiet_clean_exits_zero_no_output
method
method test_quiet_clean_exits_zero_no_output L453–458
−
test_quiet_failure_exits_nonzero_no_output
method
method test_quiet_failure_exits_nonzero_no_output L460–465
−
test_ansi_in_object_id_sanitized_in_text
method
method test_ansi_in_object_id_sanitized_in_text L530–538
−
test_snapshot_with_all_objects_present
method
method test_snapshot_with_all_objects_present L285–293
−
write_snapshot
import
import write_snapshot L30–30 → moved to tests/test_pack_objects_supercharge.py
← Older
Oldest on task/supercharge-pack-objects
All commits
Newer →
Latest on task/supercharge-pack-objects
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:ad589deb75bfb6ba249cae649d752f6a420217b52f400afb9f578632d6366fd6 --body "your comment"
No comments yet. Be the first to start the discussion.