Skip to content

feat: emit conversation metadata events - #1843

Open
radu-mocanu wants to merge 1 commit into
mainfrom
feat/conversation-meta-events-bridge
Open

feat: emit conversation metadata events#1843
radu-mocanu wants to merge 1 commit into
mainfrom
feat/conversation-meta-events-bridge

Conversation

@radu-mocanu

Copy link
Copy Markdown
Collaborator

Summary

  • emit exchange-scoped metadata events through the Socket.IO chat bridge
  • allow conversational runtimes to persist workspace metadata independently of assistant messages

Why

conversational workspace state needs to be persisted without buffering or rewriting assistant message events.

Copilot AI review requested due to automatic review settings August 4, 2026 11:29
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime test:uipath-integrations labels Aug 4, 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.

Pull request overview

Adds support in the uipath CLI Socket.IO chat bridge to emit exchange-scoped metadata events (separate from assistant message events), enabling conversational runtimes to persist workspace metadata independently.

Changes:

  • Add SocketIOChatBridge.emit_meta_event() and refactor repeated “connected client required” checks into _require_client().
  • Add a unit test asserting the emitted Socket.IO payload shape for exchange-scoped metaEvent.
  • Bump uipath package version and update dependency pins to uipath-runtime>=0.13.0,<0.14.0 (plus regenerated lockfile).

Reviewed changes

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

File Description
packages/uipath/src/uipath/_cli/_chat/_bridge.py Adds _require_client() helper and introduces emit_meta_event() for exchange-scoped metadata emission.
packages/uipath/tests/cli/chat/test_bridge.py Adds coverage for the new emit_meta_event() payload.
packages/uipath/pyproject.toml Bumps uipath version and updates uipath-runtime dependency range.
packages/uipath/uv.lock Regenerates lockfile for updated versions and dependency constraints.

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

Comment thread packages/uipath/src/uipath/_cli/_chat/_bridge.py
@radu-mocanu
radu-mocanu force-pushed the feat/conversation-meta-events-bridge branch from dd99643 to ab55a36 Compare August 4, 2026 12:17
@radu-mocanu
radu-mocanu force-pushed the feat/conversation-meta-events-bridge branch from ab55a36 to 60671a8 Compare August 4, 2026 12:38
@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Aug 4, 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 test:uipath-runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants