From 5cacae4b3a5ece971d1543948937cf61eb3d655c Mon Sep 17 00:00:00 2001 From: Vu Anh Phung Date: Thu, 29 Oct 2026 19:08:56 +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 c29a06ff8..dd55f9305 100644 --- a/.github/workflows/engineer-bot-followup.yml +++ b/.github/workflows/engineer-bot-followup.yml @@ -150,7 +150,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 }} # NOTE: no live-warehouse connection env (DATABRICKS_SERVER_HOSTNAME / # DATABRICKS_HTTP_PATH / DATABRICKS_CATALOG / DATABRICKS_USER) is wired diff --git a/.github/workflows/engineer-bot-learning.yml b/.github/workflows/engineer-bot-learning.yml index 7fba45a67..0d9340ae4 100644 --- a/.github/workflows/engineer-bot-learning.yml +++ b/.github/workflows/engineer-bot-learning.yml @@ -106,8 +106,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 cbaf5c1de..1cbb22227 100644 --- a/.github/workflows/engineer-bot.yml +++ b/.github/workflows/engineer-bot.yml @@ -219,7 +219,8 @@ jobs: # .bot/config.yaml `flow:` default (no/other type, or type-set-late case). 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 test # (see .bot/prompts/engineer/system.md — the bug-fix flow reproduces the diff --git a/.github/workflows/reviewer-bot-followup.yml b/.github/workflows/reviewer-bot-followup.yml index 105c2b1c7..e3ae712bf 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 68f881124..ee7e90381 100644 --- a/.github/workflows/reviewer-bot.yml +++ b/.github/workflows/reviewer-bot.yml @@ -116,7 +116,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