From 9c219a5f3b21f4db080b2aa030b821cd9ee109d3 Mon Sep 17 00:00:00 2001 From: eric-wang-1990 Date: Fri, 17 Jul 2026 11:30:48 -0700 Subject: [PATCH] chore(bots): bump engine pin to 5368de77 (can_use_tool PermissionResult fix) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Moves the engine pin (bot-prelude's single engine-ref default) from 3569dae3 to 5368de77, which includes databricks/databricks-bot-engine#122 — the fix for the can_use_tool permission callback returning a dict instead of a PermissionResult object. Without it, every edit_file/bash call the engineer bot makes fails with `TypeError: Tool permission callback must return PermissionResult ... got dict`, so the bot can read but not edit or run tests (observed on #791: two runs hung to the 45-min job timeout). The fix is runtime-verified against the pinned SDK (0.2.102). Signed-off-by: eric-wang-1990 Co-authored-by: Isaac --- .github/actions/bot-prelude/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/bot-prelude/action.yml b/.github/actions/bot-prelude/action.yml index f18341f68..b2c0a112d 100644 --- a/.github/actions/bot-prelude/action.yml +++ b/.github/actions/bot-prelude/action.yml @@ -31,7 +31,7 @@ inputs: # value to move every bot to a new engine commit; never @main. description: 'Engine commit SHA (full 40-char) to install.' required: false - default: '3569dae31280628fcaf1b6e49c0193bc2fe48a4d' + default: '5368de773858bef9b2a8bbf3099d08a4132a8487' engine-repo: description: 'owner/name of the engine repo.' required: false