Open
Conversation
29cd15f to
740e611
Compare
There was a problem hiding this comment.
Pull request overview
Adds “auto-resume” behavior to the resumable runtime so that if resume triggers are already fired at the time of suspension, the runtime immediately resumes without requiring an external resume call.
Changes:
- Implement auto-resume flow in
UiPathResumableRuntime.execute()and.stream()when fired triggers are detected. - Introduce
UiPathSuspensionResultto carry both the suspensionUiPathRuntimeResultand any fired trigger resume-map. - Add async tests covering auto-resume scenarios (none/partial/all fired; multiple auto-resumes; stream behavior).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
src/uipath/runtime/resumable/runtime.py |
Adds fired-trigger detection at suspension time and recursive auto-resume for execute() and stream(). |
src/uipath/runtime/result.py |
Adds UiPathSuspensionResult model used to return both runtime result and fired trigger map. |
tests/test_resumable.py |
Adds coverage for auto-resume behavior across several trigger-firing patterns. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8424ccb to
c360384
Compare
c360384 to
f88511b
Compare
radugheo
approved these changes
Feb 3, 2026
f88511b to
abef1a7
Compare
cristipufu
reviewed
Feb 4, 2026
abef1a7 to
4b78d49
Compare
9042a00 to
3d18f16
Compare
3d18f16 to
0bd69c5
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.
Development Package