Private
Public Access
conductor(state): fix_mma_concurrent_tracks_sim_20260627 SHIPPED (with stress test fix)
Track complete. All 7 VCs pass. Both tests now pass: - test_mma_concurrent_tracks_execution: PASS (5 runs verified) - test_mma_concurrent_tracks_stress: PASS (3 runs verified) 3 fixes shipped in this track: -e9919059: TrackMetadata import (production NameError) -913aa48c: Mock sprint routing (session_id-based was fragile) -fad1755b: Mock epic catch-all (literal-substring was fragile) Parent branch tier2/post_module_taxonomy_de_cruft_20260627 is now ready for merge after this fix track is reviewed. OUTSTANDING_MMA_TEST_FAILURES_20260627.md updated to RESOLVED status for all 5 stacked regressions. TRACK_COMPLETION report updated to document all 3 fixes and the verification results.
This commit is contained in:
@@ -131,4 +131,16 @@ If the user wants me to **continue in this session**, I can:
|
||||
4. Verify the test passes
|
||||
5. Commit the fix
|
||||
|
||||
Per user direction, no sweeping under the rug — this needs a real fix.
|
||||
Per user direction, no sweeping under the rug — this needs a real fix.
|
||||
|
||||
### 6. ✅ **RESOLVED** — Mock bug: epic branch only matches one literal prompt
|
||||
|
||||
**Date:** 2026-06-27 (discovered after the fix_mma_concurrent_tracks_sim_20260627 track SHIPPED)
|
||||
|
||||
The stress test (`tests/test_mma_concurrent_tracks_stress_sim.py::test_mma_concurrent_tracks_stress`) uses `mma_epic_input='STRESS TEST: TRACK A AND TRACK B'`, which the mock's epic branch did NOT match (it only matched `'PATH: Epic Initialization'`). The stress prompt fell to the Default branch which returns text (not JSON), and the production's `orchestrator_pm.generate_tracks` failed to parse it, returning 0 tracks.
|
||||
|
||||
**Root cause:** The mock's epic branch was a literal-substring check for a single test-specific prompt. It was not robust to other test prompts.
|
||||
|
||||
**Status:** ✅ **FIXED** in commit `fad1755b` (restructured routing so sprint and worker are checked first, and any non-empty prompt that doesn't match those patterns is treated as an epic request returning 2 tracks).
|
||||
|
||||
**Verification:** 3 consecutive PASS runs of both `test_mma_concurrent_tracks_execution` AND `test_mma_concurrent_tracks_stress` (13.94s, 14.81s, 14.13s).
|
||||
|
||||
Reference in New Issue
Block a user