feat(platform): add time resume triggers#1766
Closed
radu-mocanu wants to merge 2 commits into
Closed
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds first-class support for Orchestrator “time resume” triggers (Timer) so suspended jobs can be resumed by schedule via Orchestrator, including payload modeling and HITL coverage.
Changes:
- Introduces
UiPathTimeTriggerand wires it intoUiPathResumeTriggerastime_resume(timeResumeon the wire). - Adds
WaitTimeTriggeras a suspend value and teaches the resume-trigger creator to emitTimertriggers with cron/timezone payload. - Updates the resume-trigger reader to treat
Timertriggers as non-pollable (pending) and adds HITL tests for creation/serialization/pending behavior.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/uipath-platform/tests/services/test_hitl.py | Adds HITL tests validating Timer trigger creation, serialization aliases, and pending reader behavior. |
| packages/uipath-platform/src/uipath/platform/resume_triggers/_protocol.py | Wires WaitTimeTrigger into trigger type/name detection, populates time_resume, and marks Timer reads as pending. |
| packages/uipath-platform/src/uipath/platform/common/interrupt_models.py | Adds WaitTimeTrigger model with cron expression and time zone aliases. |
| packages/uipath-platform/src/uipath/platform/common/init.py | Exports WaitTimeTrigger through the common module surface. |
| packages/uipath-core/src/uipath/core/triggers/trigger.py | Adds UiPathTimeTrigger and UiPathResumeTrigger.time_resume (timeResume) payload support. |
| packages/uipath-core/src/uipath/core/triggers/init.py | Exports UiPathTimeTrigger from the core triggers package. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
028a8c0 to
aa02b2f
Compare
aa02b2f to
8977bd0
Compare
|
🚨 Heads up:
|
Collaborator
Author
|
Closing in favor of the split PR stack starting at #1767. |
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:
Tests:
Development Packages
uipath
uipath-platform
uipath-core