Repository navigation
A Bot's command card and Activity say what really happened to the command - #2055
Merged
Merged
Conversation
…mand Found on OpenBot Cloud 1.2.0-rc.3. A Bot's command was refused at the approval gate with "That unanswered tool call is not saved in this conversation". The command's card said Didn't run, the Bot answered without the output, and Activity beside it said "Ran ... Exit 0" over the same sentence, which read as a command that ran and whose output the Bot lost. The command never ran. - Activity reads a command with no exit code whose answer did not work as one that didn't run, and says Didn't run with why, as the card in the conversation does. It used to fall through to "Exit 0". - A change a Bot makes through the gate (a command, a click, typing) on a computer that is still starting is asked again until it has started, up to COMPUTER_START_WAIT_MS, as callComputer already does for the direct calls. Each ask has its own Idempotency-Key, and a Stop ends the wait. The gate answered such a step "still starting" after its 45 s, the card said the computer was starting, and the Bot was told to try again. Tests: - app/tests/command-not-run-activity.test.tsx: the gate's refusal in Activity reads Didn't run, never Exit 0; a command that ran still says its exit code and output. Fails before (Activity read "Ran ... Exit 0 ... That unanswered tool call is not saved in this conversation.") and passes after. - app/tests/approval-tools.test.tsx: a step answered "still starting" is asked again, and the Bot gets what the second ask did. Fails before (one ask) and passes after. - app/tests/command-card-layout.test.tsx: the command card and Activity in a real browser, Chromium and WebKit, light and dark, at 1440 and 390 px: the card holds what ran, its output and Exit 0, a refused command reads Didn't run, and nothing scrolls sideways.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 23, 2026 05:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found on OpenBot Cloud 1.2.0-rc.3. A Bot's command was refused at the approval gate with "That unanswered tool call is not saved in this conversation". The command's card said Didn't run, the Bot answered without the output, and Activity beside it said "Ran ... Exit 0" over the same sentence. That read as a command that ran and whose output the Bot lost. The command never ran.
What changes
Exit 0.COMPUTER_START_WAIT_MS, ascallComputeralready does for direct calls. Each ask has its own Idempotency-Key, and Stop ends the wait.Tests
app/tests/command-not-run-activity.test.tsx: a refused command in Activity reads Didn't run, never Exit 0; a command that ran keeps its exit code and output. Before:Ran 05:16:10 AM Exit 0 $ ls -la ~/reports That unanswered tool call is not saved in this conversation.After: passes.app/tests/approval-tools.test.tsx: a step answered "still starting" is asked again and the Bot gets what the second ask did. Before: one ask. After: passes.app/tests/command-card-layout.test.tsx: the command card and Activity in a real browser, Chromium and WebKit, light and dark, at 1440 and 390 px. The card holds the command, its output and Exit 0, a refused command reads Didn't run, and nothing scrolls sideways.OPENBOT_APP_BROWSER=1 OPENBOT_APP_ENGINES=chromium,webkit bun test app/tests/command-card-layout.test.tsx