From 79985162e4c83a0749dbebeb77dff562aeca45da Mon Sep 17 00:00:00 2001 From: SoftFever Date: Thu, 5 Nov 2026 01:31:46 +0800 Subject: [PATCH] Keep issue dedupe agents in the foreground so runs finish --- .github/workflows/dedupe-issues.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dedupe-issues.yml b/.github/workflows/dedupe-issues.yml index e10f79ba7e..3e9809a9f8 100644 --- a/.github/workflows/dedupe-issues.yml +++ b/.github/workflows/dedupe-issues.yml @@ -27,6 +27,9 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} CLAUDE_CODE_SCRIPT_CAPS: '{"comment-on-duplicates.sh":1}' + # The action stops at Claude's first result, so a turn that ends while a background agent + # still works would drop the rest of the dedupe; keep agents in the foreground. + CLAUDE_CODE_DISABLE_BACKGROUND_TASKS: "1" with: github_token: ${{ secrets.GITHUB_TOKEN }} # Issues are opened by users without write access; the job's permissions and the