Skip to content

Week 3 - M4: Multi-object transfer + reachable objects - #26

Merged
aman-a-shah merged 3 commits into
mainfrom
week3/m4-multi-object-transfer
Sep 21, 2026
Merged

aman-a-shah merged 3 commits into
mainfrom
week3/m4-multi-object-transfer

Conversation

@Shuhan6017

Copy link
Copy Markdown
Collaborator

Closes #19

  • recv_exact shares the leftover buffer with receive_line
  • Server: RemoteServer takes a real ObjectStore; _handle_client now loops over REF/WANT/DONE instead of requiring REF first (needed because fetch_objects has no branch arg - flagging this for review, see discussion on the issue)
  • RemoteClient.fetch_objects: one AUTH, N unique WANTs, hash-verified before storing
  • RemoteClient.collect_reachable: walks history -> commits -> trees -> blobs, built against M1 Week 3 - M1: Tree object serialization #16 / M3 Week 3 - M3: Real tree commits + history helpers #18's not-yet-merged interfaces with fakes matching their contracts
  • Tests + quality-check green

@aman-a-shah
aman-a-shah merged commit 546b019 into main Sep 21, 2026
1 check passed
@aman-a-shah
aman-a-shah deleted the week3/m4-multi-object-transfer branch September 21, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Week 3 - M4: Multi-object transfer + reachable objects

2 participants