test(mwp6/phase2): delete test_mpack_phase3.py, delete PF-4 (MWP6_20..23)
MWP6_20 — shipped contract confirmed: wire_push_unpack_mpack calls enqueue_push_intel (step 11, push.py:1071) which calls enqueue_job → enqueues mpack.index as a background job. issue-#69 'fully synchronous, no job' is abandoned in the shipped design.
MWP6_21 — DELETE tests/test_mpack_phase3.py: P3-1 asserts 'no mpack.index job must be enqueued after push' — directly contradicts enqueue_push_intel at step 11. All three P3 tests are testing an abandoned synchronous-push design (issue-#69). Deleted with muse rm.
MWP6_22 — test_mpack_push_async.py: REVIVE (Phase 5 target): Core asserts (commits_written, snapshots_written, branch_heads) match the current contract. BUT the test requires live MinIO: _upload_mpack does a real PUT to a presigned URL; cannot run in-process. Decision: REVIVE in Phase 5 alongside clone/fetch xs unit (live E2E); replace flux skip with infra guard then. No changes to the file in Phase 2. Exactly one of phase3/push_async survives — push_async lives, phase3 dies.
MWP6_23 — DELETE PF-4 from tests/test_mpack_fetch_phase3.py: PF-4 tests 'falls back to inline bytes when mpack index empty'. The inline-bytes return path is gone: current wire_fetch_mpack with have=[] raises MPackNotReadyError on cache miss; with have set, always assembles a new mpack + returns presigned mpack_url — never mpack_bytes or a distinct presigned_url key. PF-4's assertions (mpack_fetch, mpack_bytes, presigned_url) all fail against the current return shape. PF-4 deleted; PF-1..3 kept for Phase 4 revival. Removed orphaned _Base import + session_add_all helper + PF-4 docstring.
Issue: musehub#110, master: muse#58
Semantic Changes
40 symbols
0 comments
muse hub commit comment sha256:185aa901c896f5c5a14020fb4eca020266791005108c15882aedb43f7e6fe9e1 --body "your comment"
No comments yet. Be the first to start the discussion.