test
RC-4
task/mwp-4-prebuild-after-index
#2 / 6
test(RC-4): add MWP4_11 E2E and MWP4_12 stress tests — Phase 4 complete
MWP4_11: one push + real claim loop (_drain_via_claim_loop mirrors _process_one). Asserts mpack.index is claimed and completed before fetch.mpack.prebuild is ever claimed, and a MusehubFetchMPackCache row lands at the pushed tip.
MWP4_12: N=10 back-to-back pushes with no intermediate drain, then claim-loop drain. Three assertions: (a) zero prebuild claims while any mpack.index is pending/running (b) zero FetchNotIndexedError raised during drain (c) final cache covers the latest tip (mpack_ids==1)
All 12 MWP4 tests green; 32 adjacent tests green, zero regressions. Tick Phase 4 + all acceptance criteria checkboxes in issue body.
sha256:46854101acdde2a2481a7805887ac87ce91d35d23b62541b6165d4d0b480fa05
sha
+6
~6
−1
symbols
sha256:439254975c286411d2bb705b9a8608eb7858bc158c385eb7459536b88b733b49
snapshot
+6
symbols added
~6
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes
13 symbols
~
docs/issues/mwp-4-prebuild-after-index.md
.md
1 symbol added, 1 symbol removed, 3 symbols modified
−
Phase 4 — integration + stress (real worker claim loop)
section Phase 4 — integration + stress (real worker claim loop) L301–315
+
Phase 4 — integration + stress (real worker claim loop) ✅ COMPLETE
section Phase 4 — integration + stress (real worker claim loop) ✅ COMPLETE L301–319
~
Phases
+
test_mwp4_11_e2e_claim_loop_orders_index_before_prebuild
function
async_function test_mwp4_11_e2e_claim_loop_orders_index_before_prebuild L784–841
+
test_mwp4_12_stress_n10_pushes_drain_with_no_ordering_violation
function
async_function test_mwp4_12_stress_n10_pushes_drain_with_no_ordering_violation L845–991
Older
fix(RC-4): narrow FetchNotIndexedError swallow in prebuild handl…
sha256:b545dbcc8513abaecc2f275c75e499cecb6d6c85541d866b6b6ae7909dc15be9
All commits
Newer
docs(mwp4/phase5): tick Phase 5 checkboxes, close musehub#109
sha256:1ccb8409daa5aabe577bd26d11b56ed12f3376d64011d0e75a247e81211a66ee
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:46854101acdde2a2481a7805887ac87ce91d35d23b62541b6165d4d0b480fa05 --body "your comment"
No comments yet. Be the first to start the discussion.