From 30196bdcd337f053d87c8fa6096a2abf39dc53b3 Mon Sep 17 00:00:00 2001 From: Jory Irving Date: Wed, 10 Jun 2026 11:54:21 -0600 Subject: [PATCH 1/2] ci: upgrade pr-reviewer-action to v1.2.1 with model routing + escalation Rebuilt on current main (renovate pin bump landed underneath). Co-Authored-By: Claude Fable 5 --- .github/workflows/ai-pr-review.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ai-pr-review.yaml b/.github/workflows/ai-pr-review.yaml index 66b7a9b..0c352a9 100644 --- a/.github/workflows/ai-pr-review.yaml +++ b/.github/workflows/ai-pr-review.yaml @@ -29,25 +29,31 @@ jobs: id: app-token uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: - client-id: ${{ secrets.BOT_APP_ID }} + client-id: ${{ secrets.BOT_CLIENT_ID }} private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }} - name: Review PR with reusable AI reviewer if: github.event_name == 'pull_request' id: review - uses: misospace/pr-reviewer-action@ff03870002ecee692bfcfe9ad6e5dd1cb36f3ddd # v1.2.0 + uses: misospace/pr-reviewer-action@87d01c854d1b385a214ae7d9ede15a077164183f # v1.2.1 with: github_token: ${{ steps.app-token.outputs.token }} - ai_primary_retries: "8" + ai_primary_retries: "3" ai_primary_retry_delay_sec: "15" ai_base_url: ${{ vars.LITELLM_URL }} ai_api_format: ${{ vars.PRIMARY_FORMAT }} ai_model: ${{ vars.PRIMARY_MODEL }} ai_api_key: ${{ secrets.LITELLM_API_KEY }} + ai_response_format: json_object ai_fallback_base_url: ${{ vars.LITELLM_URL }} ai_fallback_api_format: ${{ vars.FALLBACK_FORMAT }} ai_fallback_model: ${{ vars.FALLBACK_MODEL }} ai_fallback_api_key: ${{ secrets.LITELLM_API_KEY }} + review_routing_mode: auto + ai_smart_base_url: ${{ vars.LITELLM_URL }} + ai_smart_api_format: ${{ vars.SMART_FORMAT || vars.FALLBACK_FORMAT }} + ai_smart_model: ${{ vars.SMART_MODEL || vars.FALLBACK_MODEL }} + ai_smart_api_key: ${{ secrets.LITELLM_API_KEY }} context_limit_mode: normal tool_mode: plan_execute_once tool_max_requests: "4" @@ -58,5 +64,8 @@ jobs: tool_allowed_gh_api_repos: "*" tool_request_timeout_sec: "15" tool_enable_for_forks: "false" + on_model_failure: notice + inline_findings: "true" + verdict_policy: findings_severity_gated publish_mode: review_verdict allow_approve: "true" From 14decbfc8d987befadea204c37db91950b8ffd57 Mon Sep 17 00:00:00 2001 From: Jory Irving Date: Wed, 10 Jun 2026 12:08:45 -0600 Subject: [PATCH 2/2] ci: bump pr-reviewer-action to v1.2.2 (hide superseded reviews) Co-Authored-By: Claude Fable 5 --- .github/workflows/ai-pr-review.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ai-pr-review.yaml b/.github/workflows/ai-pr-review.yaml index 0c352a9..add9bab 100644 --- a/.github/workflows/ai-pr-review.yaml +++ b/.github/workflows/ai-pr-review.yaml @@ -35,7 +35,7 @@ jobs: - name: Review PR with reusable AI reviewer if: github.event_name == 'pull_request' id: review - uses: misospace/pr-reviewer-action@87d01c854d1b385a214ae7d9ede15a077164183f # v1.2.1 + uses: misospace/pr-reviewer-action@e891235e8e3e75824b88fb696b1f7b4816122737 # v1.2.2 with: github_token: ${{ steps.app-token.outputs.token }} ai_primary_retries: "3"