Roo-Code/packages
Roo Code 014dfdc465 fix: handle externally-triggered terminal abort to prevent stuck cloud UI
When handleTerminalOperation("abort") is called via IPC CancelCommand, the
execa subprocess is killed and the process promise rejects. Previously, this
rejection was unhandled (isUserTimedOut was false), causing the error to
propagate up without emitting any TaskEvent, leaving the cloud UI stuck.

Changes:
- Add isTerminalAbortedExternally flag to Task class
- Set the flag in handleTerminalOperation before calling abort()
- Check the flag in executeCommandInTerminal catch block alongside isUserTimedOut
- When set, handle cleanly: say error, set didToolFailInCurrentTurn, return tool result
- Add "cancelled" status to CommandExecutionStatus discriminated union
- Add tests for both the external abort case and the unexpected error case
2026-02-20 18:26:03 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud feat: remove Roomote Control from extension (#11271) 2026-02-19 16:33:39 -08:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core Add back post-revert bug fixes and features (Step 2) (#11463) 2026-02-13 18:40:28 -05:00
evals Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
ipc feat: add CancelCommand IPC message type for canceling running terminal commands 2026-02-20 12:26:09 -05:00
telemetry fix(condense): remove custom condensing model option (#10901) 2026-01-22 20:06:04 -05:00
types fix: handle externally-triggered terminal abort to prevent stuck cloud UI 2026-02-20 18:26:03 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00