gabriel / musehub public
fix patch RC-4 task/mwp-4-prebuild-after-index #3 / 6
AI Agent gabriel · 22 days ago · Jun 29, 2026 · Diff

fix(RC-4): narrow FetchNotIndexedError swallow in prebuild handler (Phase 3)

- Add specific except FetchNotIndexedError: raise guard before the broad except Exception in process_fetch_mpack_prebuild_job. FetchNotIndexedError now propagates to the worker so fail_job records it as a retryable failure instead of silently returning tips_built=0. - Add MWP4_10 test: confirms FetchNotIndexedError propagates after the fix. - MWP4_02 (Phase 0 RED test) also now green — it asserts the exception propagates, matching Phase 3 behavior. - All 10 MWP4 tests green; 32 adjacent tests green, zero regressions. - Tick Phase 3 checkboxes in docs/issues/mwp-4-prebuild-after-index.md.

sha256:b545dbcc8513abaecc2f275c75e499cecb6d6c85541d866b6b6ae7909dc15be9 sha
+3 ~5 −1 symbols
sha256:54242b322d89d057d078a971b7e1c3b8ec5843fb5505ac41398117dae1a40c13 snapshot
+3
symbols added
~5
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 9 symbols
~ docs/issues/mwp-4-prebuild-after-index.md .md 1 symbol added, 1 symbol removed, 3 symbols modified
Phase 3 — stop masking the index gap section Phase 3 — stop masking the index gap L287–297
+ Phase 3 — stop masking the index gap ✅ COMPLETE section Phase 3 — stop masking the index gap ✅ COMPLETE L287–301
~ Phases
~ tests/test_mwp4_prebuild_ordering.py .py 2 symbols added, 1 symbol modified
+ FetchNotIndexedError import import FetchNotIndexedError L49–49
+ test_mwp4_10_fetch_not_indexed_error_propagates function async_function test_mwp4_10_fetch_not_indexed_error_propagates L680–733

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:b545dbcc8513abaecc2f275c75e499cecb6d6c85541d866b6b6ae7909dc15be9 --body "your comment"