Skip to content

fix: auto-resume debug bridge for chat mode in Textual TUI#71

Merged
cristipufu merged 2 commits intomainfrom
fix/textual-chat-mode-debug-bridge
Feb 17, 2026
Merged

fix: auto-resume debug bridge for chat mode in Textual TUI#71
cristipufu merged 2 commits intomainfrom
fix/textual-chat-mode-debug-bridge

Conversation

@cristipufu
Copy link
Member

Summary

  • TextualDebugBridge treated CHAT mode like DEBUG — _auto_resume was False and breakpoints were "*" (all nodes)
  • This caused UiPathDebugRuntime.wait_for_resume() to block for 60s on the initial resume event that never came, making chat mode unusable in the Textual TUI
  • Changed both flags to key off ExecutionMode.DEBUG only: RUN and CHAT both auto-resume with no breakpoints

Test plan

  • Start a chat mode run in the Textual TUI — should respond immediately without 60s hang
  • Verify debug mode still pauses at breakpoints as expected
  • Verify run mode still executes without pausing

🤖 Generated with Claude Code

TextualDebugBridge treated CHAT mode like DEBUG — _auto_resume was False
and breakpoints were set to "*" (all nodes). This caused
UiPathDebugRuntime.wait_for_resume() to block for 60s on the initial
resume event that never came.

Changed both flags to key off DEBUG mode only:
- _auto_resume: True for RUN and CHAT, False only for DEBUG
- _breakpoints: "*" only for DEBUG, empty for RUN and CHAT

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cristipufu cristipufu force-pushed the fix/textual-chat-mode-debug-bridge branch from 1dc4161 to 7bda0ab Compare February 17, 2026 04:34
Verifies that chat mode completes without the 60s timeout that occurred
before the debug bridge auto-resume fix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cristipufu cristipufu merged commit f268ba2 into main Feb 17, 2026
11 checks passed
@cristipufu cristipufu deleted the fix/textual-chat-mode-debug-bridge branch February 17, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant