refactor(phase5): Comprehensive stabilisation pass. De-duplicated App/Controller state, hardened session reset, and updated integration tests with deterministic polling.

This commit is contained in:
2026-05-09 16:55:45 -04:00
parent d1cc019640
commit b958fa2819
16 changed files with 351 additions and 383 deletions
+6
View File
@@ -34,6 +34,12 @@ def test_phase4_final_verify(live_gui):
client.set_value('current_provider', 'gemini_cli')
client.set_value('gcli_path', os.path.abspath(os.path.join(os.path.dirname(__file__), "mock_gcli.bat")))
# Wait for settings to apply
for _ in range(50):
if client.get_value('rag_emb_provider') == 'local':
break
time.sleep(0.1)
# 3. Trigger Initial Indexing
print("[VERIFY] Triggering indexing...")
client.click('btn_rebuild_rag_index')