Skip to content

Commit 0d31c76

Browse files
chore(bots): bump engine to 3963f4b (post-#115); use REPO_ROOT not TEST_REPO_ROOT
Engine #115 (rename TEST_REPO_ROOT → REPO_ROOT, alias kept) merged as 3963f4b. Adopt it here: - Bump the centralized engine pin (bot-prelude engine-ref default) d9cb1e6 → 3963f4b — moves all four bots in lockstep. - Rename TEST_REPO_ROOT → REPO_ROOT in the engineer author (run + publish) and followup steps. REPO_ROOT is the clear primary name at 3963f4b; TEST_REPO_ROOT still works as a deprecated alias, but we standardize on the new name. Coupled on purpose: REPO_ROOT is only read by the engine at/after #115, so the rename and the pin bump land together. SDK/CLI pins (0.2.102 / 2.1.61) and the flow set (bug-fix/task) are unchanged at 3963f4b. Signed-off-by: Eric Wang <e.wang@databricks.com> Co-authored-by: Isaac Signed-off-by: eric-wang-1990 <e.wang@databricks.com>
1 parent b385dc9 commit 0d31c76

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/actions/bot-prelude/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ inputs:
3131
# value to move every bot to a new engine commit; never @main.
3232
description: 'Engine commit SHA (full 40-char) to install.'
3333
required: false
34-
default: 'd9cb1e63dc31eed550194a29d1cfd7de9c9c793b'
34+
default: '3963f4be76be3b4ac0382ca0d7b6bf9d051929e6'
3535
engine-repo:
3636
description: 'owner/name of the engine repo.'
3737
required: false

.github/workflows/engineer-bot-followup.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ jobs:
124124
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
125125
RUNNER_TEMP: ${{ runner.temp }}
126126
# The agent's working tree AND the .bot/ lookup root. run.py resolves
127-
# the config at <TEST_REPO_ROOT>/.bot/config.yaml, defaulting to
128-
# `internal-repo` (the driver-repo layout) when unset — which does NOT
129-
# exist here (we check out at the workspace root), so this MUST be set
130-
# or load_bot fails with "No such file … internal-repo/.bot/config.yaml".
131-
TEST_REPO_ROOT: ${{ github.workspace }}
127+
# the config at <REPO_ROOT>/.bot/config.yaml. The engine has NO path
128+
# default — it fails with a clear error if this is unset — so it MUST be
129+
# set (we check out at the workspace root, not the driver-repo layout's
130+
# `internal-repo/`). (`TEST_REPO_ROOT` is the deprecated alias.)
131+
REPO_ROOT: ${{ github.workspace }}
132132
run: |
133133
git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
134134
python -m databricks_bot_engine.engineer_bot.run --phase followup \

.github/workflows/engineer-bot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
# Run from RUNNER_TEMP so the engine-rendered prompt's context file
159159
# (issue_body.txt, resolved against cwd) is read from there and the
160160
# checkout stays clean — publish's leftover check fails on any untracked
161-
# path in the repo. TEST_REPO_ROOT points the agent's working tree (and
161+
# path in the repo. REPO_ROOT points the agent's working tree (and
162162
# the .bot/ lookup) at the checkout; ISSUE_NUMBER/TITLE/URL come from
163163
# $GITHUB_ENV (the bot config's author.env_tokens).
164164
#
@@ -171,7 +171,7 @@ jobs:
171171
env:
172172
MODEL_ENDPOINT: https://${{ secrets.DATABRICKS_HOST }}/serving-endpoints/databricks-claude-opus-4-8/invocations
173173
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
174-
TEST_REPO_ROOT: ${{ github.workspace }}
174+
REPO_ROOT: ${{ github.workspace }}
175175
RUNNER_TEMP: ${{ runner.temp }}
176176
FLOW: ${{ steps.ctx.outputs.flow }}
177177
run: |
@@ -193,7 +193,7 @@ jobs:
193193
env:
194194
GH_TOKEN: ${{ steps.prelude.outputs.token }}
195195
GITHUB_REPOSITORY: ${{ github.repository }}
196-
TEST_REPO_ROOT: ${{ github.workspace }}
196+
REPO_ROOT: ${{ github.workspace }}
197197
RUNNER_TEMP: ${{ runner.temp }}
198198
ENGINEER_BOT_APP_ID: ${{ secrets.ENGINEER_BOT_APP_ID }}
199199
TOUCHED_FILES: ${{ steps.author.outputs.touched_files }}

0 commit comments

Comments
 (0)