feat: add detached debug bridge for non-interactive runs#106
Merged
radu-mocanu merged 1 commit intomainfrom Apr 23, 2026
Merged
feat: add detached debug bridge for non-interactive runs#106radu-mocanu merged 1 commit intomainfrom
radu-mocanu merged 1 commit intomainfrom
Conversation
afeabc1 to
354d72c
Compare
There was a problem hiding this comment.
Pull request overview
Adds a “detached” debug bridge implementation intended for non-interactive debug runs, so the runtime can keep emitting debug events/state without requiring an attached debugger protocol/handshake.
Changes:
- Bump
uipath-runtimeversion to0.10.1(and update lockfile). - Add
DetachedDebugBridge(no-op emitters) andNoDebuggerAttachedError. - Add unit tests covering the detached bridge’s no-op behavior and error-raising waits.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
pyproject.toml |
Version bump to 0.10.1. |
uv.lock |
Lockfile update for uipath-runtime version bump. |
src/uipath/runtime/debug/exception.py |
Introduces NoDebuggerAttachedError. |
src/uipath/runtime/debug/detached.py |
Adds DetachedDebugBridge implementation. |
src/uipath/runtime/debug/__init__.py |
Exports the new bridge and error type. |
tests/test_detached_debug_bridge.py |
Adds tests for the detached bridge behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
354d72c to
94566b6
Compare
GabrielVasilescu04
approved these changes
Apr 23, 2026
edis-uipath
approved these changes
Apr 23, 2026
effa435 to
564ce65
Compare
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.
Summary
DetachedDebugBridgeimplementation ofUiPathDebugProtocolthat no-ops all emits, returns immediately fromwait_for_resumeso the runtime's initial paused gate releases, and blocks forever inwait_for_terminateso polling loops don't falsely signal quitUiPathDebugRuntime(..., debug_bridge=DetachedDebugBridge())streams and executes to completion without blockingWhy
some executors run under the debug path to get bindings and state streaming, but cannot speak the signalr debug protocol. today they wedge on the 60s wait for the initial resume command. this gives the cli side something to wire up (via an upcoming attach=none flag) so those executors can opt out of interactive debug without losing the rest of the debug command's behavior.