feat: supercharge verify-pack — 76 tests, duration_ms in stat text, docstring fixes
- Add tests/test_cmd_verify_pack.py (76 tests, zero prior coverage) Tiers: TypedDicts, JSON envelope, stat mode, quiet mode, file input, --no-local, object integrity, snapshot consistency, commit consistency, malformed input, text format, data integrity, security hardening, no-prose pollution, stress (500 objects, mixed clean/corrupt) - Fix --stat text mode: add duration_ms to output line - Fix module docstring: JSON examples now include duration_ms and exit_code for both full-verify and stat-only outputs
sha256:057c5e4412abcc29488c3c76a5511fb66f2d80613d73d0beaf66e20e4b8ea239
sha
+110
~1
symbols
sha256:edb5b6d7999a13b048ac4d5471a96ace38bf17679a3041a85b0b448257f226ef
snapshot
+110
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
111 symbols
+
test_commit_missing_snapshot_id_field
method
method test_commit_missing_snapshot_id_field L600–612
+
test_commits_field_not_list_exits_nonzero
method
method test_commits_field_not_list_exits_nonzero L590–598
+
test_snapshot_in_bundle_resolves_commit
method
method test_snapshot_in_bundle_resolves_commit L570–576
+
test_no_local_skips_store_check_for_snapshot_ref
method
method test_no_local_skips_store_check_for_snapshot_ref L365–384
+
test_corrupt_bundle_json_output_is_valid
method
method test_corrupt_bundle_json_output_is_valid L863–872
+
test_failures_list_uses_sha256_prefix
method
method test_failures_list_uses_sha256_prefix L874–887
+
test_invalid_object_id_format_reported
method
method test_invalid_object_id_format_reported L425–435
+
test_mismatch_failure_id_is_declared_oid
method
method test_mismatch_failure_id_is_declared_oid L412–423
+
test_objects_field_not_list_exits_nonzero
method
method test_objects_field_not_list_exits_nonzero L469–477
+
test_bundle_file_path_traversal_handled
method
method test_bundle_file_path_traversal_handled L788–795
+
test_extremely_long_error_string_safe
method
method test_extremely_long_error_string_safe L822–836
+
test_manifest_ref_in_bundle_objects_passes
method
method test_manifest_ref_in_bundle_objects_passes L500–506
+
test_manifest_ref_in_local_store_passes
method
method test_manifest_ref_in_local_store_passes L530–547
+
test_non_dict_snapshot_entry_reported
method
method test_non_dict_snapshot_entry_reported L508–518
+
test_snapshots_field_not_list_exits_nonzero
method
method test_snapshots_field_not_list_exits_nonzero L520–528
+
test_mixed_clean_and_corrupt_at_scale
method
method test_mixed_clean_and_corrupt_at_scale L913–929
+
test_failure_has_required_annotations
method
method test_failure_has_required_annotations L124–128
+
test_stat_result_has_required_annotations
method
method test_stat_result_has_required_annotations L136–140
+
test_verify_pack_result_has_required_annotations
method
method test_verify_pack_result_has_required_annotations L130–134
~
run
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:057c5e4412abcc29488c3c76a5511fb66f2d80613d73d0beaf66e20e4b8ea239 --body "your comment"
No comments yet. Be the first to start the discussion.