feat: support multiple resume triggers per interrupt#138
Open
radu-mocanu wants to merge 1 commit into
Open
Conversation
This was referenced Jun 27, 2026
2e5abd3 to
76ea3f8
Compare
e7d2707 to
df65b23
Compare
0296604 to
d68d3cc
Compare
df65b23 to
37acdd4
Compare
fd7b080 to
300a6b9
Compare
There was a problem hiding this comment.
Pull request overview
This PR extends the resumable runtime to support multiple resume triggers per interrupt, enabling multiple resume conditions to race while preserving enough metadata for callers to identify which sibling trigger fired.
Changes:
- Add
create_triggers(...) -> list[UiPathResumeTrigger]to the trigger-creator protocol and update the resumable runtime to persist all triggers per interrupt. - Annotate resume values with
__uipathtrigger metadata when an interrupt has multiple sibling triggers. - Update tests and CI workflows (via a new helper script) to validate/consume the new behavior and ensure cross-repo tests use the wheel under test.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/uipath/runtime/resumable/runtime.py |
Calls create_triggers, builds resume input with sibling-trigger metadata, and persists multiple triggers per interrupt. |
src/uipath/runtime/resumable/protocols.py |
Extends the trigger creator protocol with create_triggers. |
tests/test_resumable.py |
Adds coverage for sibling-trigger behavior and updates mocks to support create_triggers. |
.github/scripts/force-runtime-override.py |
New helper to force uv resolves to use the runtime wheel under test in cross-repo workflows. |
.github/workflows/test-uipath.yml |
Uses the override helper script when installing the runtime wheel for uipath-python tests/typecheck. |
.github/workflows/test-uipath-langchain.yml |
Uses the override helper script when installing the runtime wheel for uipath-langchain tests/typecheck. |
pyproject.toml |
Bumps package version to 0.12.0. |
uv.lock |
Updates locked version to 0.12.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
300a6b9 to
d5e123f
Compare
d5e123f to
a0eb8ad
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
create_triggersto the resumable trigger creator protocol__uipathtrigger metadata to composite interrupt resume values so callers can identify which sibling firedDepends on: UiPath/uipath-python#1768 and UiPath/uipath-python#1773
Development Package