Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

test(ws): bump PTY compaction-leg timeouts 20s -> 45s

Rach Pradhan90db4b4eef55
diff --git a/scripts/codex_ws_test.py b/scripts/codex_ws_test.py
index ab1cf27a..4130366e 100644
--- a/scripts/codex_ws_test.py
+++ b/scripts/codex_ws_test.py
@@ -296,7 +296,7 @@ def run_scenario(
cwd=tmp,
env=env,
unset_env=ambient,
- timeout=20.0,
+ timeout=45.0, # compaction legs stream 128 KiB of scripted reasoning; 20s flakes on loaded runners
) as session:
session.wait_for_literal("] ›")
cursor = len(session.raw)
@@ -650,7 +650,7 @@ def run_midturn_compaction_scenario(
cwd=tmp,
env=env,
unset_env=ambient,
- timeout=20.0,
+ timeout=45.0, # compaction legs stream 128 KiB of scripted reasoning; 20s flakes on loaded runners
) as session:
session.wait_for_literal("] ›")
cursor = len(session.raw)
@@ -693,7 +693,7 @@ def run_transactional_compaction_scenario(
cwd=tmp,
env=env,
unset_env=ambient,
- timeout=20.0,
+ timeout=45.0, # compaction legs stream 128 KiB of scripted reasoning; 20s flakes on loaded runners
) as session:
session.wait_for_literal("] ›")
cursor = len(session.raw)