test(mwp-2): phase 4 E2E acceptance gate (MWP2_12, MWP2_13)
MWP2_12 — acceptance gate (repair patched out): Push C1→C2→C3 via _InMemBackend + wire_push_unpack_mpack. Delete C2's CommitGraph row. wire_fetch_mpack(force_build=True): fallback fires (graph_incomplete=True at C2 dead-end), returns {C1,C2,C3}. Assembled mpack contains all 3 commits and C3's blob. mock_repair.assert_not_called() confirms missing-row corruption is RC-2 not RC-1 (no snapshot mismatch). Without MWP-2, C1 would be absent from the clone.
MWP2_13 — composition proof (repair live): Same push+corrupt setup. First wire_fetch_mpack: fallback fires, complete. INSERT C2's CommitGraph row back (gen=1). Second _walk_commit_delta with _walk_commit_delta_dag patched to raise: no raise → fast path used after graph healed. Proves MWP-1 + MWP-2 compose correctly.
Also adds _InMemBackend, _e2e_push, _raw_commit, _IDENTITY_ID to test file. 23 tests GREEN (10 MWP2 + 13 MWP1), no regressions.
Semantic Changes
30 symbols
0 comments
muse hub commit comment sha256:d939d288f2939676bf4c4d018c87b6b88322146f0e574e068839868be17e67b9 --body "your comment"
No comments yet. Be the first to start the discussion.