graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
test(learn): report where an auto-init session hung
Rach Pradhanc8807a6322d9
diff --git a/scripts/test-learn-auto-init.py b/scripts/test-learn-auto-init.pyindex 03d2cf10..395de4aa 100644--- a/scripts/test-learn-auto-init.py+++ b/scripts/test-learn-auto-init.py@@ -67,11 +67,13 @@ def run_session(tmp: str, port: int, prompts: int) -> str:session.wait_for_literal("] ›", start=cursor)session.send_key("ctrl-d")# Bootstrapping materializes a kit and generates two suites, so the- # exit path is slower than an ordinary session's.- result = session.read_until_exit(60.0)+ # exit path is slower than an ordinary session's (siblings use 5s).+ result = session.read_until_exit(45.0)if result.timed_out or result.exit_code != 0:raise AssertionError(- f"session exit={result.exit_code} timed_out={result.timed_out}"+ f"session exit={result.exit_code} timed_out={result.timed_out} "+ f"prompts={prompts}\n"+ f"--- tail of the session ---\n{session.text[-4000:]}")return session.text