From 11b69d7d797121273a77b68f965924856125af9a Mon Sep 17 00:00:00 2001 From: prql-bot Date: Fri, 19 Jun 2026 09:30:13 +0000 Subject: [PATCH 1/2] internal: cap CI poll at sub-Bash-cap chunks to avoid gated-review deadlock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bundled running-in-ci poll loops 15×60s, exceeding the Bash 10-min cap, so the harness auto-backgrounds it; the background completion notification is unreliable in CI, so gated reviews deadlock and never post. Observed losing the #6022 review deliverable. Add a running-tend override to chunk the poll under the cap until max-sixty/tend#694 is fixed upstream. Co-Authored-By: Claude Opus 4.8 --- .claude/skills/running-tend/SKILL.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.claude/skills/running-tend/SKILL.md b/.claude/skills/running-tend/SKILL.md index b641c535777f..9af439d3ae16 100644 --- a/.claude/skills/running-tend/SKILL.md +++ b/.claude/skills/running-tend/SKILL.md @@ -27,6 +27,25 @@ permission first) still applies when the target shows no agent signals. in #5753, so bot PRs must be merged manually by a maintainer (or via repo branch-protection auto-merge if a maintainer enables it on the PR). +## CI monitoring: poll in sub-cap chunks + +The bundled `running-in-ci` CI-monitoring recipe runs a single foreground loop +of 15 one-minute iterations (`for i in $(seq 1 15); do sleep 60`). That +15-minute loop exceeds the Bash tool's 10-minute cap, so the harness +auto-backgrounds it — and a backgrounded poll's completion notification is not +reliably delivered to a CI session (see +[max-sixty/tend#694](https://github.com/max-sixty/tend/issues/694), still open +as of tend 0.1.6). When the wait is gated (a review approval/dismissal, a +pushed-fix verification), the session then waits on the backgrounded task for a +notification that never arrives and ends without posting the gated action. This +already cost a deliverable: the #6022 dependabot review deadlocked on the +auto-backgrounded poll and posted no review at all. + +Until #694 is fixed upstream, run the poll in chunks that each stay under the +cap: cap the loop at **8 iterations** (`seq 1 8`) per Bash call, and if checks +are still pending when it returns, issue another Bash call to keep polling. Every +poll stays in the foreground — never wait on a backgrounded poll to notify you. + ## Weekly maintenance These tasks run as Step 3 of the bundled weekly skill (only when From c5ae1f1ac88602875aca64c46b21c7dffcf3443f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 09:31:09 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .claude/skills/running-tend/SKILL.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.claude/skills/running-tend/SKILL.md b/.claude/skills/running-tend/SKILL.md index 9af439d3ae16..762f9eaf8242 100644 --- a/.claude/skills/running-tend/SKILL.md +++ b/.claude/skills/running-tend/SKILL.md @@ -43,8 +43,9 @@ auto-backgrounded poll and posted no review at all. Until #694 is fixed upstream, run the poll in chunks that each stay under the cap: cap the loop at **8 iterations** (`seq 1 8`) per Bash call, and if checks -are still pending when it returns, issue another Bash call to keep polling. Every -poll stays in the foreground — never wait on a backgrounded poll to notify you. +are still pending when it returns, issue another Bash call to keep polling. +Every poll stays in the foreground — never wait on a backgrounded poll to notify +you. ## Weekly maintenance