test: more t1.9 minor edits (gcli_adapter patches, comments)

Drop the remaining _update_gcli_adapter monkeypatches from
test_ai_loop_regressions_20260614 (3 sites), test_live_gui_integration_v2
(2 sites), and the gemini_cli_adapter comment references in
tests/test_ai_client_tool_loop_send_func.py, test_lazymodule_filedialog_fallback.py,
and mock_concurrent_mma.py.
This commit is contained in:
ed
2026-07-05 20:00:20 -04:00
parent edebeac619
commit 9401d3f67d
5 changed files with 12 additions and 17 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ def main() -> None:
prompt = ""
# Detect the session we're "resuming" via --resume arg (set by the
# gemini_cli_adapter on subsequent calls).
# mock on subsequent calls).
session_id = ""
argv = sys.argv[1:]
if "--resume" in argv:
@@ -77,7 +77,7 @@ def main() -> None:
# CHECK BEFORE epic so worker takes priority over the catch-all epic branch.
if 'You are assigned to Ticket' in prompt:
# NOTE: Removed session_id.startswith("mock-worker-") fallback. The session_id
# persists across tests in the same session (gemini_cli_adapter is a singleton).
# persists across tests in the same session (mock provider is stateful).
# The fallback caused test_mma_concurrent_tracks_stress_sim to fail when it ran
# AFTER test_mma_concurrent_tracks_execution: the execution test set the session_id
# to mock-worker-ticket-A-1, and the stress test's epic call used --resume with that