Skip to content

Conversation

@cristipufu
Copy link
Member

@cristipufu cristipufu commented Dec 24, 2025

Description

This PR adds support for handling multiple resume triggers instead of a single trigger, enabling workflows with multiple concurrent interrupts to be properly resumed.

Key changes:

  • Added interrupt_id field to UiPathResumeTrigger model to uniquely identify each interrupt
  • Updated storage protocol from single-trigger (save_trigger/get_latest_trigger) to multi-trigger (save_triggers/get_triggers) operations
  • Modified UiPathResumableRuntime to build a resume map from multiple triggers and diff existing/new interrupts during suspension

Development Package

  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath-runtime==0.3.0.dev1000580185",

  # Any version from PR
  "uipath-runtime>=0.3.0.dev1000580000,<0.3.0.dev1000590000"
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath-runtime = { index = "testpypi" }

@cristipufu cristipufu self-assigned this Dec 24, 2025
Copilot AI review requested due to automatic review settings December 24, 2025 06:06

This comment was marked as outdated.

@cristipufu cristipufu force-pushed the fix/multiple_resume_triggers branch 4 times, most recently from ba82404 to 8bb3215 Compare December 24, 2025 06:52
@cristipufu cristipufu force-pushed the fix/multiple_resume_triggers branch from 8bb3215 to 217e6cc Compare December 24, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant