From e37518db2939347bc77c6374ab369ef7610c52f6 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 15 Nov 2026 21:56:11 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=201:=200=20=F0=9F=94=B4,?= =?UTF-8?q?=2011=20=F0=9F=9F=A1=20(0=20misread);=20the=20help=20lists=20me?= =?UTF-8?q?rge's=20steps=20and=20stops,=20and=20the=20decision=20says=20wh?= =?UTF-8?q?ere=20it=20differs=20from=20the=20call?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/chunk_pr/approval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/chunk_pr/approval.py b/bin/chunk_pr/approval.py index 01eae003..6ce41058 100644 --- a/bin/chunk_pr/approval.py +++ b/bin/chunk_pr/approval.py @@ -9,7 +9,7 @@ from chunk_preflight.gathered import Forge from deploy_release.forge import Run BIN = pathlib.Path(__file__).resolve().parents[1] -# A human answers in hours, so merge polls once a minute and gives up after 90 minutes, which leaves room for the checks wait inside the 2 hours a background command may run, so that the give-up message prints. +# A human answers in hours, so merge polls once a minute and gives up after 90 minutes. That leaves half an hour for the queue and the checks inside the 2 hours a background command may run; a run that needs more is killed before the give-up message prints, and its next run goes on from what it pushed. POLL_SECONDS = 60 WAIT_SECONDS = 90 * 60 @@ -26,7 +26,7 @@ def awaited(forge: Forge, run: Run) -> bool | Failure: return answer.strip() == "true" -# Each review thread nobody resolved, with who wrote its last comment, beside who opened the pull request. gh fills {owner} and {repo} from the checkout. +# Each review thread, with whether it is resolved and who wrote its last comment, beside who opened the pull request. gh fills {owner} and {repo} from the checkout. THREADS = """query($owner: String!, $repo: String!, $number: Int!) { repository(owner: $owner, name: $repo) { pullRequest(number: $number) { author { login } reviewThreads(first: 100) { nodes { isResolved path comments(last: 1) { nodes { author { login } } } } }