From ad109e14a3a2fa87296f62fa7aa3931a74b925d6 Mon Sep 17 00:00:00 2001 From: openhands Date: Mon, 20 Apr 2026 13:51:22 +0000 Subject: [PATCH] fix(ci): pass extensions-version so sub-agent script is used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pr-review workflow uses @feat/pr-review-sub-agent-delegation for the action definition, but the action.yml checks out the extensions repo at extensions-version (default: main) for the actual script. Since extensions#164 is not merged to main yet, the script from main has no sub-agent code — so USE_SUB_AGENTS=true is silently ignored. Fix: explicitly set extensions-version: feat/pr-review-sub-agent-delegation so the checkout matches the action branch and the sub-agent code path is actually available at runtime. Co-authored-by: openhands --- .github/workflows/pr-review-by-openhands.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr-review-by-openhands.yml b/.github/workflows/pr-review-by-openhands.yml index 049eb38fb9..30b27144e7 100644 --- a/.github/workflows/pr-review-by-openhands.yml +++ b/.github/workflows/pr-review-by-openhands.yml @@ -49,6 +49,9 @@ jobs: review-style: roasted # Enable experimental sub-agent delegation for file-level reviews use-sub-agents: 'true' + # Must match the branch in `uses:` so the script checkout + # picks up the sub-agent code (extensions#164 not yet on main) + extensions-version: feat/pr-review-sub-agent-delegation llm-api-key: ${{ secrets.LLM_API_KEY }} github-token: ${{ secrets.PAT_TOKEN }} lmnr-api-key: ${{ secrets.LMNR_SKILLS_API_KEY }}