feat(cli): serve the pre-warmed runtime over uipath-ipc alongside HTTP [ROBO-5779]#1809
Draft
eduard-dumitru wants to merge 1 commit into
Draft
feat(cli): serve the pre-warmed runtime over uipath-ipc alongside HTTP [ROBO-5779]#1809eduard-dumitru wants to merge 1 commit into
eduard-dumitru wants to merge 1 commit into
Conversation
…P [ROBO-5779] `uipath server` serves an HTTP channel and, when --server-socket is given, a uipath-ipc named-pipe channel concurrently — both behind one env/cwd-isolated job core. Adds the IPythonRuntimeServer contract (StartJob/StopJob) with typed PythonRunRequest/PythonRunResult dataclasses mirroring the .NET side, plus tests. Adds uipath-ipc as a dependency. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
eduard-dumitru
force-pushed
the
feat/ROBO-5779-server-ipc-transport
branch
from
July 21, 2026 11:08
72b8383 to
952d047
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.


Adds a uipath-ipc named-pipe transport to
uipath server, served alongside the existing HTTP-over-socket path (ROBO-5779).What
uipath serverserves both channels concurrently: HTTP (aiohttp over a Unix socket, or TCP on Windows) and — when--server-socketis given — a uipath-ipc named pipe. HTTP is never torn down; the IPC pipe name is the socket's basename, so the executor spawns the server the same way regardless of channel.IPythonRuntimeServer(StartJob/StopJob) viaNamedPipeServerTransport; both edges run jobs through one env/cwd-isolated core (_run_command_isolated).PythonRunRequest/PythonRunResult) mirroring the .NET side.StopJobreturns aboolso CoreIPC treats it as request/response, not fire-and-forget — cancellation itself is a no-op for now (Phase 1).uipath-ipc>=2.5.1(internal Azure Artifacts feed for now — see thepyprojectnote; a public-PyPIuipath-ipcrelease is a prerequisite for a publicpip install uipath).test_server_ipc.py(IPC server) andtest_server_transport.py(channel composition /_run_serverarg resolution / CLI wiring).Notes
PythonRuntimePreferIpcFPS feature flag, Low-Code only) — separate PR inUiPath/hdens.main; pending green CI (cross-tests + Sonar) before ready.🤖 Generated with Claude Code