1.0 KiB
1.0 KiB
Session Debrief: Test Fixes
Summary
Fixed 329/330 tests passing for asyncio_decoupling_refactor_20260306 track.
What Worked
- Fixed import paths in 20+ test files (aggregate → src.aggregate)
- Fixed mock paths (gemini_cli_adapter.subprocess.Popen)
- Fixed ApiHookClient methods (post_session, get_events, clear_events, post_project)
- Fixed callback path in app_controller.py
What Failed - test_visual_orchestration.py
- Root cause: orchestrator_pm.generate_tracks() returns tracks but they're not reaching the popup
- Debug showed: AI IS called (1262 tokens), no parsing errors, but proposed_tracks=[]
- Issue in the _pending_gui_tasks queue - tracks aren't being processed
CRITICAL MCP TOOL LESSON
When using manual-slop_edit_file, parameters are lower_snake_case:
The tool schema shows camelCase. Never assume snake_case. Always verify params from schema.
Files Modified
- src/api_hook_client.py
- src/app_controller.py
- src/orchestrator_pm.py
- tests/test_*.py (20+ files)
- tests/mock_gemini_cli.py