fix: chunk snapshot batch to respect _MAX_BATCH_SIZE=100
wire_fetch now sends all snapshots for all returned commits, but get_snapshot_manifests_batch() caps at 100 IDs. For repos with >100 commits the previous code crashed with ValueError: batch size N exceeds limit 100.
Fix: iterate in _MAX_BATCH_SIZE chunks, merging results. Also adds test_wire_fetch_more_than_100_snapshots (n=105) which pushes all commits in a single bundle to avoid per-request rate limiting.
sha256:d389881ced7186a96ab24f586860308e505d0f0cd4340a871422ca176178be1d
sha
sha256:2bd7cda49e716ad872943e3ac1c7f937357ffd37f38f708903f2a8a28b8e367e
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:d389881ced7186a96ab24f586860308e505d0f0cd4340a871422ca176178be1d --body "your comment"
No comments yet. Be the first to start the discussion.