Skip to content

feat: emit conversation meta events - #1843

Merged
radu-mocanu merged 1 commit into
mainfrom
feat/conversation-meta-events-bridge
Aug 6, 2026
Merged

feat: emit conversation meta events#1843
radu-mocanu merged 1 commit into
mainfrom
feat/conversation-meta-events-bridge

Conversation

@radu-mocanu

@radu-mocanu radu-mocanu commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • emit exchange-scoped metadata events through the Socket.IO chat bridge
  • preserve generic metadata payloads without converting them into message events

Why

runtime metadata needs to reach the conversational service without delaying or altering streamed assistant messages.

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 3 times, most recently from 60671a8 to 13add5e Compare August 5, 2026 08:19
@radu-mocanu radu-mocanu changed the title feat: emit conversation metadata events feat: persist conversational workspace files Aug 5, 2026
@radu-mocanu
radu-mocanu force-pushed the feat/conversation-meta-events-bridge branch 2 times, most recently from ce882b2 to c982b62 Compare August 5, 2026 09:38
@radu-mocanu radu-mocanu changed the title feat: persist conversational workspace files feat: emit conversation meta events Aug 5, 2026
@radu-mocanu
radu-mocanu force-pushed the feat/conversation-meta-events-bridge branch 2 times, most recently from 6a03eff to b4a1d24 Compare August 5, 2026 17:02
@radu-mocanu
radu-mocanu force-pushed the feat/conversation-meta-events-bridge branch from b4a1d24 to c74d124 Compare August 6, 2026 07:31
@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Aug 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 →

@radu-mocanu
radu-mocanu merged commit 94e4370 into main Aug 6, 2026
171 of 176 checks passed
@radu-mocanu
radu-mocanu deleted the feat/conversation-meta-events-bridge branch August 6, 2026 11:59
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