feat: shallow fetch — depth-limited BFS in wire_fetch_stream
- WireFetchRequest gains depth: int | None = None (ge=1) - wire_fetch_stream caps BFS at depth hops; boundary commits returned as shallow_commits - H frame includes shallow_commits list (empty when depth=None) - 12 TDD tests cover schema, full history, depth=1/2, H frame, objects, DAG
sha256:6dd0ace38e24f244bb289d3c495367d610b8a2cf8cbec11f9e449430b6cb8313
sha
+44
~2
symbols
sha256:fa364ed34f28772d55d04d30e1f0943d2c48410fada3fa529b1ef64ab064c8da
snapshot
+44
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
46 symbols
+
test_single_commit_depth_1_equals_full
method
async_method test_single_commit_depth_1_equals_full L334–354
+
test_depth_2_includes_parent_excludes_grandparent
method
async_method test_depth_2_includes_parent_excludes_grandparent L233–251
+
test_depth_1_on_merge_commit_returns_only_merge
method
async_method test_depth_1_on_merge_commit_returns_only_merge L363–385
+
test_h_frame_has_shallow_commits_on_depth
method
async_method test_h_frame_has_shallow_commits_on_depth L260–275
+
test_h_frame_no_shallow_commits_without_depth
method
async_method test_h_frame_no_shallow_commits_without_depth L278–291
+
test_depth_1_only_sends_tip_objects
method
async_method test_depth_1_only_sends_tip_objects L300–325
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:6dd0ace38e24f244bb289d3c495367d610b8a2cf8cbec11f9e449430b6cb8313 --body "your comment"
No comments yet. Be the first to start the discussion.