From 1bea0d23bf83222502707be289ea283e7abdd05a Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 28 Jun 2026 09:24:06 -0400 Subject: [PATCH] fix(test): correct filename typo manualslop.toml -> manual_slop.toml in project switch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tier 2's project-switch fix (commit 455c17ff) was correct but used 'manualslop.toml' (no underscore) instead of 'manual_slop.toml'. The if Path(workspace_toml).exists() check was False, so the switch was silently skipped — the subprocess stayed on whatever stale project a prior test left, and the RAG engine used the wrong base_dir. Fixing the filename makes the project switch actually fire. The test now passes 4/4 runs in isolation (6-7s each). The RAG context block appears in the discussion history as expected. --- tests/test_rag_phase4_final_verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rag_phase4_final_verify.py b/tests/test_rag_phase4_final_verify.py index aff79334..530d0d65 100644 --- a/tests/test_rag_phase4_final_verify.py +++ b/tests/test_rag_phase4_final_verify.py @@ -29,7 +29,7 @@ def test_phase4_final_verify(live_gui, live_gui_workspace): # Must use absolute path — the subprocess's CWD is the workspace, so a # relative path like 'tests/artifacts/.../manualslop.toml' resolves to # the wrong dir from the subprocess's CWD. - workspace_toml = str((Path(live_gui_workspace) / "manualslop.toml").resolve()) + workspace_toml = str((Path(live_gui_workspace) / "manual_slop.toml").resolve()) if Path(workspace_toml).exists(): client.push_event("custom_callback", {"callback": "_switch_project", "args": [workspace_toml]}) switch_status = client.wait_for_project_switch(expected_path=workspace_toml, timeout=30.0)