fix
BREAKING
wire
task/fix-oc-n-objects-count
#1 / 1
fix(wire): count distinct OC objects in H/E frame n_objects
OC chunk entries in the objects list share the same object_id across all N chunk fragments. _frame_generator was passing len(objects) as n_objects, counting each fragment as a separate object. The server assembles OC sequences and counts 1 per oid, causing:
'count mismatch: E frame claims 1029 object frames, server received 1028'
Fix: compute _n_objects_distinct = O-frame count + len(unique OC oids). Applied at both H-frame construction (in _frame_generator and in push_stream_coro) and E-frame write.
TDD: test_wire_oc_n_objects.py covers the regression (P-OC-N2) and the mixed O + OC case (P-OC-N3).
sha256:63dfe1ce33eed2712fb3242b2a62f56b4a14fa6c01e3ccd5005186c2e070c067
sha
sha256:ee4e5081053492aa3777c29e9c56109e2162a29b9fa78b614cab346d0d9419c1
snapshot
← Older
Oldest on task/fix-oc-n-objects-count
All commits
Newer →
Latest on task/fix-oc-n-objects-count
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:63dfe1ce33eed2712fb3242b2a62f56b4a14fa6c01e3ccd5005186c2e070c067 --body "your comment"
No comments yet. Be the first to start the discussion.