Skip to content

fix: backport voice session end detail to uipath 2.11#1789

Open
JoshParkSJ wants to merge 3 commits into
codex/base-uipath-2.11.xfrom
hotfix/uipath-2.11.19-voice-end-detail
Open

fix: backport voice session end detail to uipath 2.11#1789
JoshParkSJ wants to merge 3 commits into
codex/base-uipath-2.11.xfrom
hotfix/uipath-2.11.19-voice-end-detail

Conversation

@JoshParkSJ

@JoshParkSJ JoshParkSJ commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Backport the voice_session_ended detail preservation from main onto the 2.11-compatible uipath line.
  • Set uipath to 2.11.19. Runtime floor stays at uipath-runtime>=0.11.5,<0.12.0 — the runtime 0.11.9 change is typing-only and not required by this backport (the only new import is copy.deepcopy).

Notes

  • Runtime hotfix skipped. This PR no longer depends on / is blocked by uipath-runtime==0.11.9; it can be built and published independently.
  • Base branch codex/base-uipath-2.11.x is an ancestor of main at the last 2.11.18 commit. There is no release/v2.11.x branch (main is already on 2.12.x), so this historical-commit base is used as the 2.11 hotfix base.
  • Publish this before the S197 uipath-agents hotfix (fix(traced): fix parent for traced #596), which floors uipath>=2.11.19,<2.12.0.

Test plan

  • uv run pytest packages/uipath/tests/cli/chat/test_voice_bridge.py -q

@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-integrations labels Jul 6, 2026
@JoshParkSJ JoshParkSJ marked this pull request as ready for review July 6, 2026 13:27
Copilot AI review requested due to automatic review settings July 6, 2026 13:27

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.

Pull request overview

Backports preservation of the voice_session_ended payload (“end detail”) into the 2.11-compatible CLI voice bridge so downstream job runtime code can access the original CAS-provided termination metadata, and bumps the SDK version for release.

Changes:

  • Persist and expose voice_session_ended payload via a new end_detail property on VoiceToolCallSession (defensive copy semantics).
  • Add/extend unit tests validating opaque payload preservation, non-dict handling, and protection against late overwrites.
  • Bump uipath package version to 2.11.19.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/uipath/src/uipath/_cli/_chat/_voice_bridge.py Captures and exposes voice_session_ended payload (end_detail) and logs key fields.
packages/uipath/tests/cli/chat/test_voice_bridge.py Adds tests ensuring payload preservation, immutability via deep copies, and terminal-state protection.
packages/uipath/pyproject.toml Bumps package version to 2.11.19 for the backport release.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +225 to +229
if self._done.is_set():
return

detail = deepcopy(data) if isinstance(data, dict) else {}
self._end_detail = detail
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

🚨 Heads up: uipath-integrations cross-tests are FAILING 🚨

Your changes may break one or more integrations in uipath-integrations-python:

  • uipath-openai-agents
  • uipath-google-adk
  • uipath-agent-framework
  • uipath-llamaindex
  • uipath-pydantic-ai

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

🚨 Heads up: uipath-langchain cross-tests are FAILING 🚨

Your changes may break the uipath-langchain-python integration.

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants