Skip to content

feat(cli): camelCase the IPC wire DTOs - #1909

Merged
eduard-dumitru merged 1 commit into
mainfrom
feat/ipc-dto-camelcase
Sep 23, 2026
Merged

eduard-dumitru merged 1 commit into
mainfrom
feat/ipc-dto-camelcase

Conversation

@eduard-dumitru

Copy link
Copy Markdown
Contributor

Why

The handler talks to its runtimes over a dozen JSON channels (files, HTTP, IPC). All of them are camelCase except the IPC dataclasses in uipath, which were PascalCase. This aligns the last odd channel so every runtime speaks the same casing.

What

  • cli_server_ipc.py: RunJob/StopJob request and reply fields renamed to camelCase.
  • _job_api.py: log, result and error DTOs renamed to camelCase.
  • Tests follow; wire-key pins updated.

Compatibility

The handler already reads either spelling. It will send camelCase requests only to venvs with uipath >= 2.14.25 and keep the PascalCase contract for older ones (hdens #8031).

Copilot AI lite review requested due to automatic review settings September 22, 2026 23:15
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime test:uipath-integrations labels Sep 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The reviewed changes consistently update IPC casing, tests, and package metadata.

Review effort: Lite
Findings: None

What changed in this PR

Updates IPC DTO wire fields to camelCase and bumps uipath to 2.14.25.

Changes:

  • Renamed runtime and job API DTO fields.
  • Updated IPC tests and wire-key assertions.
  • Refreshed package metadata and lockfile.
  • Removed an obsolete comment.
File Summary
packages/​uipath/​uv.lock Updates the locked package version.
packages/​uipath/​tests/​cli/​test_server_ipc.py Updates runtime IPC tests.
packages/​uipath/​tests/​cli/​test_job_api.py Updates DTO and wire-key tests.
packages/​uipath/​src/​uipath/​_cli/​cli_server_ipc.py Renames runtime IPC DTO fields.
packages/​uipath/​src/​uipath/​_cli/​cli_run.py Removes an obsolete comment.
packages/​uipath/​src/​uipath/​_cli/​_job_api.py Renames job API DTO fields and mappings.
packages/​uipath/​pyproject.toml Bumps the package version.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Every other handler <-> runtime channel (JS result DTO, both runtimes' config files, output.json)
is camelCase; the IPC dataclasses were the odd ones out. The handler reads either spelling and
selects this contract by uipath version, 2.14.25 and up.
@sonarqubecloud

Copy link
Copy Markdown

@eduard-dumitru
eduard-dumitru merged commit 7bd1425 into main Sep 23, 2026
187 checks passed
@eduard-dumitru
eduard-dumitru deleted the feat/ipc-dto-camelcase branch September 23, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-integrations test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants