fix: remove stale msgpack references from tests (batch 5)
Replace msgpack with JSON in test fixtures and roundtrip helpers that touch storage paths: test history serialization, shelf entry writers, gc tests, snapshot delta size comparison, snapshot schema/compression docstrings, and fsync enospc test suite cleanup after _write_msgpack_atomic deletion.
Fix _force_write_tag to write JSON to .json path — previously writing msgpack bytes to a .json file made tags unreadable (tests passed vacuously because _read_tag_or_migrate swallowed the parse error and returned None).
sha256:f7f63fc0ed7f18d4b6e73b3735c57deeeabe72132c5af5fbabd41ec0b3811012
sha
+3
~26
−28
symbols
sha256:a1073dadb035f45506bda83e8c2837400e903928e1477afb26b0efe7eb5009cc
snapshot
+3
symbols added
~26
symbols modified
−28
symbols removed
0
dead code introduced
Semantic Changes
57 symbols
~
tests/test_object_store_write_taxonomy.py
.py
1 symbol added, 1 symbol removed, 5 symbols modified
~
tests/test_snapshot_schema_version_and_compression.py
.py
1 symbol added, 1 symbol removed, 4 symbols modified
−
test_write_msgpack_atomic_enospc_exception_propagates_to_caller
method
method test_write_msgpack_atomic_enospc_exception_propagates_to_caller L415–427
−
test_500_msgpack_writes_complete_under_5s
method
method test_500_msgpack_writes_complete_under_5s L737–748
−
test_write_msgpack_atomic_einval_suppressed
method
method test_write_msgpack_atomic_einval_suppressed L692–698
−
test_f_barrierfsync_einval_falls_through_fsync_enospc_raises
method
method test_f_barrierfsync_einval_falls_through_fsync_enospc_raises L377–387
−
test_f_barrierfsync_einval_falls_through_to_fsync_einval_suppressed
method
method test_f_barrierfsync_einval_falls_through_to_fsync_einval_suppressed L367–375
−
test_f_barrierfsync_enospc_and_fsync_enospc_raises
method
method test_f_barrierfsync_enospc_and_fsync_enospc_raises L358–365
−
test_f_barrierfsync_enospc_fallthrough_fsync_succeeds
method
method test_f_barrierfsync_enospc_fallthrough_fsync_succeeds L345–356
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:f7f63fc0ed7f18d4b6e73b3735c57deeeabe72132c5af5fbabd41ec0b3811012 --body "your comment"
No comments yet. Be the first to start the discussion.