From 163ac505307a75dddf79cca60a103162d4b1f847 Mon Sep 17 00:00:00 2001 From: Vu Anh Phung Date: Thu, 29 Oct 2026 19:09:23 +0000 Subject: [PATCH] ci: use Claude Opus 5.5 for bot workflows Signed-off-by: Vu Anh Phung --- .github/workflows/engineer-bot-followup.yml | 3 ++- .github/workflows/engineer-bot-learning.yml | 5 +++-- .github/workflows/engineer-bot.yml | 3 ++- .github/workflows/reviewer-bot-followup.yml | 3 ++- .github/workflows/reviewer-bot.yml | 3 ++- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/engineer-bot-followup.yml b/.github/workflows/engineer-bot-followup.yml index 9d3adca3..73adffcd 100644 --- a/.github/workflows/engineer-bot-followup.yml +++ b/.github/workflows/engineer-bot-followup.yml @@ -133,7 +133,8 @@ jobs: PR_TITLE: ${{ github.event.pull_request.title }} PR_URL: ${{ github.event.pull_request.html_url }} TRIGGER_COMMENT_ID: ${{ github.event.comment.id }} - MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-4-8/invocations + ENGINEER_BOT_MODEL_OVERRIDE: databricks-claude-opus-5-5 + MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-5-5/invocations DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} RUNNER_TEMP: ${{ runner.temp }} # The agent's working tree AND the .bot/ lookup root. run.py resolves the diff --git a/.github/workflows/engineer-bot-learning.yml b/.github/workflows/engineer-bot-learning.yml index 4d3ebd94..e2347882 100644 --- a/.github/workflows/engineer-bot-learning.yml +++ b/.github/workflows/engineer-bot-learning.yml @@ -108,8 +108,9 @@ jobs: # translate_endpoint's already-v2 early-return, which keeps the trailing # `invocations`, so the CLI appends `/v1/messages` → # `.../anthropic/invocations/v1/messages` → HTTP 400 (unsupported path). - # The effective model is set by the engine default (no retrospective.model). - MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-4-8/invocations + # The engine adds the [1m] context suffix to the override. + ENGINEER_BOT_MODEL_OVERRIDE: databricks-claude-opus-5-5 + MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-5-5/invocations DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} RUNNER_TEMP: ${{ runner.temp }} SINCE: ${{ inputs.since }} diff --git a/.github/workflows/engineer-bot.yml b/.github/workflows/engineer-bot.yml index 89644344..04917627 100644 --- a/.github/workflows/engineer-bot.yml +++ b/.github/workflows/engineer-bot.yml @@ -178,7 +178,8 @@ jobs: # checkout. --flow only when the ctx step derived one. working-directory: ${{ runner.temp }} env: - MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-4-8/invocations + ENGINEER_BOT_MODEL_OVERRIDE: databricks-claude-opus-5-5 + MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-5-5/invocations DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} # Live-warehouse connection env for the agent's REQUIRED e2e repro (the # 7 E2E_* vars tests/e2e/utils/config.ts validates — a single missing one diff --git a/.github/workflows/reviewer-bot-followup.yml b/.github/workflows/reviewer-bot-followup.yml index 0900bce9..bf95553b 100644 --- a/.github/workflows/reviewer-bot-followup.yml +++ b/.github/workflows/reviewer-bot-followup.yml @@ -89,7 +89,8 @@ jobs: TRIGGER_COMMENT_ID: ${{ github.event.comment.id }} HEAD_SHA: ${{ github.event.pull_request.head.sha }} PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} - MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-4-8/invocations + REVIEWER_BOT_MODEL_OVERRIDE: databricks-claude-opus-5-5 + MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-5-5/invocations DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} DRY_RUN: 'false' RUNNER_TEMP: ${{ runner.temp }} diff --git a/.github/workflows/reviewer-bot.yml b/.github/workflows/reviewer-bot.yml index e8da7414..735a31e9 100644 --- a/.github/workflows/reviewer-bot.yml +++ b/.github/workflows/reviewer-bot.yml @@ -124,7 +124,8 @@ jobs: PR_NUMBER: ${{ steps.inputs.outputs.pr_number }} HEAD_SHA: ${{ steps.inputs.outputs.head_sha }} DRY_RUN: ${{ steps.inputs.outputs.dry_run }} - MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-4-8/invocations + REVIEWER_BOT_MODEL_OVERRIDE: databricks-claude-opus-5-5 + MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-5-5/invocations DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} RUNNER_TEMP: ${{ runner.temp }} # The reviewer's repo-specific ADDITIVE guidance, read from the TRUSTED