feat: add wait until interrupt model#1768
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a new public time-based interrupt model (WaitUntil) and wires it into the platform resume-trigger protocol so suspended jobs can be resumed at a specified absolute (timezone-aware) time.
Changes:
- Add
WaitUntilinterrupt model with validation/normalization of timezone-awareresumeTime. - Map
WaitUntiltoUiPathResumeTriggerType.TIMER/UiPathResumeTriggerName.TIMERand populateresume_timeon created triggers. - Bump
uipath/uipath-platformversions and updateuipath-core/uipath-platformdependency minimums accordingly.
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/uipath/uv.lock | Lockfile updates reflecting bumped package versions. |
| packages/uipath/pyproject.toml | Bump uipath version and minimum dependency versions (uipath-core, uipath-platform). |
| packages/uipath-platform/uv.lock | Lockfile updates reflecting uipath-platform version bump. |
| packages/uipath-platform/src/uipath/platform/resume_triggers/_protocol.py | Adds TIMER trigger read/create support and maps WaitUntil to TIMER. |
| packages/uipath-platform/src/uipath/platform/common/interrupt_models.py | Introduces the WaitUntil interrupt model with timezone validation + UTC normalization. |
| packages/uipath-platform/src/uipath/platform/common/init.py | Exports WaitUntil as part of the public uipath.platform.common surface. |
| packages/uipath-platform/pyproject.toml | Bump uipath-platform version and minimum uipath-core version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🚨 Heads up:
|
ced870e to
6db4d22
Compare
6f51bbf to
37b0070
Compare
37b0070 to
bb72c62
Compare
🚨 Heads up:
|
Summary
WaitUntilas the public time-based interrupt modelDepends on: #1767
Depends on: UiPath/uipath-runtime-python#137
Development Packages
uipath
uipath-platform