gabriel / musehub public
test mwp3 task/mwp-3-job-idempotency #1 / 10
AI Agent gabriel · 22 days ago · Jun 29, 2026 · Diff

test(mwp3): Phase 4 — fix adjacent suite regressions, lock all phases

MWP3_12: all 5 suites (36 tests) GREEN after Phase 1-3 fixes:

test_mwp3_job_idempotency.py — 14 tests (MWP3_01–MWP3_11) GREEN test_enqueue_batch.py — 4 tests GREEN test_fetch_mpack_prebuild.py — 8 tests GREEN (3 fixed; see below) test_mpack_index_always_enqueued.py — 5 tests GREEN test_process_mpack_index_job.py — 5 tests GREEN

Fix: FMC_07, FMC_07b, FMC_08 in test_fetch_mpack_prebuild.py relied on the handler trusting payload['tip_commit_ids'] as authoritative. The Phase 1 fix makes the handler re-read live MusehubBranch tips instead, so each test now creates branch rows matching its tip IDs. No semantic change — the handler sees the same tips it would have seen before; only setup is corrected.

Also updates docs/issues/mwp-3-job-idempotency.md: Phase 4 ✅, MWP3_12 ticked, RC-4 acceptance criterion ticked, Phase 4 exit note added.

sha256:969ddc5e88776e70af33c016b8777bb721356508ae5f304b3fb46c451494ece7 sha
+1 ~6 −1 symbols
985 changed · 985 in snapshot files
sha256:37912f6e4aa222a8395debec566176ef92f40975270e3bbe14fe7be057a6fb0a snapshot
+1
symbol added
~6
symbols modified
−1
symbol removed
985
files changed
985
files in snapshot
0
dead code introduced
Semantic Changes 8 symbols
~ docs/issues/mwp-3-job-idempotency.md .md 1 symbol added, 1 symbol removed, 3 symbols modified
Files Changed
+985
985 in snapshot
+ .env.example .example
+ .museignore .museignore
+ CLAUDE.md .md
+ README.md .md
+ alembic.ini .ini
+ docs/ssl.md .md
+ musehub.db .db
+ musehub/py.typed .typed
+ package.json .json
+ pyproject.toml .toml
+ tsconfig.json .json

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:969ddc5e88776e70af33c016b8777bb721356508ae5f304b3fb46c451494ece7 --body "your comment"