Skip to content

fix: handle debug signalR bridge race condition (#1590) [2.10.37.post1] - #1887

Merged
andreiancuta-uipath merged 5 commits into
release/v2.10.37.post1from
fix/debug-bridge-race-2.10.37
Sep 8, 2026
Merged

fix: handle debug signalR bridge race condition (#1590) [2.10.37.post1]#1887
andreiancuta-uipath merged 5 commits into
release/v2.10.37.post1from
fix/debug-bridge-race-2.10.37

Conversation

@andreiancuta-uipath

@andreiancuta-uipath andreiancuta-uipath commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #1590 onto uipath 2.10.37, released as 2.10.37.post1.

The test-uipath-langchain / test-uipath-llamaindex cross-tests are label-triggered and expected to fail here: they resolve current uipath-langchain main (uipath>=2.14.6) against the 2.10.37 wheels. They are not required checks.

Pairs with uipath-runtime 0.10.0.post1 (cherry-pick of uipath-runtime-python#161), already on PyPI.

🤖 Generated with Claude Code

Copilot AI lite review requested due to automatic review settings September 8, 2026 11:49
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Sep 8, 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.

🟡 Changes recommended

The new SignalR start-race behavior is not test-covered and the added inline comment should be corrected for clarity.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR is a cherry-pick hotfix onto the uipath 2.10.37 release line to address a remote-debugging (SignalR) race condition, bump the patch version to 2.10.37.post1, and ensure CI/CD workflows run appropriately on release/** branches.

Changes:

  • Emit OnExecutionStarted when handling the SignalR Start command to reduce the chance of a remote-debug session waiting indefinitely due to connection ordering.
  • Bump packages/uipath version from 2.10.37 to 2.10.37.post1 (including lockfile).
  • Expand CI/CD workflow branch triggers to release/** and guard CD package detection so it doesn’t run on branch creation pushes.
File summaries
File Description
packages/uipath/src/uipath/_cli/_debug/_bridge.py Adds emit_execution_started() call in _handle_start to mitigate a SignalR start/receiver race.
packages/uipath/pyproject.toml Updates the uipath package version to 2.10.37.post1.
packages/uipath/uv.lock Aligns locked editable uipath version with 2.10.37.post1.
.github/workflows/ci.yml Enables CI to run for PRs targeting release/** branches.
.github/workflows/cd.yml Enables CD on release/** pushes and avoids branch-creation publish detection via output fallbacks + github.event.created guard.
Review details
  • Files reviewed: 4/5 changed files
  • Comments generated: 2
  • Review effort level: Lite

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

Comment on lines +744 to +745
# handle race conditions, runtime connected to debug bridge before the receiver
await self.emit_execution_started()
Comment on lines +744 to +745
# handle race conditions, runtime connected to debug bridge before the receiver
await self.emit_execution_started()
@andreiancuta-uipath
andreiancuta-uipath force-pushed the fix/debug-bridge-race-2.10.37 branch from 38cc295 to 01067fb Compare September 8, 2026 14:16
@sonarqubecloud

sonarqubecloud Bot commented Sep 8, 2026

Copy link
Copy Markdown

@andreiancuta-uipath
andreiancuta-uipath merged commit b3ef728 into release/v2.10.37.post1 Sep 8, 2026
43 of 55 checks passed
@andreiancuta-uipath
andreiancuta-uipath deleted the fix/debug-bridge-race-2.10.37 branch September 8, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants