fix(push): serialize CommitRecord/SnapshotRecord to dicts before msgpack encoding
walk_commits() returns CommitRecord dataclasses in _WalkResult.commits. push_stream() was passing them directly to msgpack which can't serialize dataclasses. Call .to_dict() on each commit and load+serialize snapshot records from disk using read_snapshot().
Also fix snapshot collection: _WalkResult has snapshot_ids (set[str]), not a 'snapshots' key — load SnapshotRecord from disk for each id.
sha256:581547361fb653426b72bc81ac4b0f894ae57f73481fea172ddf9baafc9637ae
sha
sha256:001f62cacbf78ff08a3cfbb351759b4300f3e430f151bfc1d91f08e324e0f4c5
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:581547361fb653426b72bc81ac4b0f894ae57f73481fea172ddf9baafc9637ae --body "your comment"
No comments yet. Be the first to start the discussion.