graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Let pre-push finish the suite and require the HTTP/2 tests.
justrachbb4688d311c7
diff --git a/build.zig b/build.zigindex bb65a960..2bba11a0 100644--- a/build.zig+++ b/build.zig@@ -127,6 +127,10 @@ pub fn build(b: *std.Build) void {const run_tests = b.addRunArtifact(unit_tests);const test_step = b.step("test", "Run unit and subprocess integration tests");test_step.dependOn(&run_tests.step);+ // Reachability only needs the binary. Running the suite here as well made+ // pre-push spend its 600s budget before the tests check started.+ const test_bin = b.step("test-bin", "Compile unit tests without running them");+ test_bin.dependOn(&unit_tests.step);const acp_preauth_test = b.addSystemCommand(&.{ "python3", "scripts/test-acp-preauth.py" });acp_preauth_test.addArtifactArg(exe);test_step.dependOn(&acp_preauth_test.step);diff --git a/scripts/eval-tier1.sh b/scripts/eval-tier1.shindex fe79146e..43e0252a 100755--- a/scripts/eval-tier1.sh+++ b/scripts/eval-tier1.sh@@ -198,7 +198,9 @@ if wanted tests; thenprintf ' fix: skipped tests must count toward the suite ratchet (#794)\n'record_fail testselse- out=$(python3 scripts/eval/process_guard.py --timeout 600 zig build test --summary all 2>&1)+ # One full run. 600s killed a green suite on a warm tree before the+ # binary finished; process_guard's cap is 1800s.+ out=$(python3 scripts/eval/process_guard.py --timeout 1800 zig build test --summary all 2>&1)status=$?printf '%s\n' "$out" | tail -4if ((status != 0)); then@@ -269,7 +271,7 @@ if wanted invariants; theninv_ok=1if ! python3 scripts/eval/tier1_test_binary.py resolve >/dev/null 2>&1; thenprintf ' no test artifact yet; compiling the unfiltered suite once\n'- if ! python3 scripts/eval/process_guard.py --timeout 600 zig build test --summary all >/dev/null; then+ if ! python3 scripts/eval/process_guard.py --timeout 1800 zig build test --summary all >/dev/null; theninv_ok=0record_fail invariantsfidiff --git a/scripts/eval/test_reachability.py b/scripts/eval/test_reachability.pyindex b74d2087..497ce366 100644--- a/scripts/eval/test_reachability.py+++ b/scripts/eval/test_reachability.py@@ -48,9 +48,9 @@ def main() -> int:# first - unfiltered, which is also what makes the artifact we want exist -# and let a compile failure surface as a compile failure.try:- build = bounded_run(["zig", "build", "test"], cwd=ROOT, capture_output=True, text=True, timeout=600)+ build = bounded_run(["zig", "build", "test-bin"], cwd=ROOT, capture_output=True, text=True, timeout=600)except subprocess.TimeoutExpired:- print("reachability: Zig test deadline exceeded after 600s; owned processes stopped", file=sys.stderr)+ print("reachability: Zig test compile deadline exceeded after 600s; owned processes stopped", file=sys.stderr)return 1if build.returncode != 0:sys.stderr.write("zig build test failed; reachability not checked\n")diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.jsonindex ed491755..20b4310b 100644--- a/scripts/eval/tier1-manifest.json+++ b/scripts/eval/tier1-manifest.json@@ -77,6 +77,16 @@"id": "edit-selected-worktree","test": "#747: editing the same relative name after a tree switch lands on the selected root","why": "#747: an edit could report success while the selected worktree stayed unchanged."+ },+ {+ "id": "http2-window",+ "test": "http-zig credits DATA on the connection and the stream",+ "why": "A second HTTP/2 stream stalls after 64KB if DATA is not credited."+ },+ {+ "id": "http2-reuse",+ "test": "keep the pooled session only after END_STREAM",+ "why": "Reusing a half-read HTTP/2 session feeds the next turn the previous frame."}],"docs_only_paths": [