From 096eeea56be45a178eaadacadbd399dd7a64bf1d Mon Sep 17 00:00:00 2001 From: Don Garrett Date: Sat, 17 Oct 2026 00:02:18 +0000 Subject: [PATCH] Live review test: no CI grace in its CI-less repository The CI wait made a head with no checks wait ci_grace_s (2 min), so the live test's single round reviewed nothing. Its fresh repository has no CI: the test sets the grace to 0. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk --- tests/integration/test_review_live.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_review_live.py b/tests/integration/test_review_live.py index 729c6bb..2350d2b 100644 --- a/tests/integration/test_review_live.py +++ b/tests/integration/test_review_live.py @@ -56,7 +56,8 @@ def test_a_ready_pr_gets_one_comment_review( "operators": ["nisse-testing-operator"], }, "repositories": [repo.name], - "tuning": {"review": {"max_turns": 25}}, + # The fresh repository has no CI: review at once, no grace. + "tuning": {"review": {"max_turns": 25, "ci_grace_s": 0}}, } config = ReviewConfig.from_tree(tree, {}) # make_repo gives the agent write access: the reviewer refuses that.