Skip to content

feat: add wait until interrupt model#1768

Open
radu-mocanu wants to merge 1 commit into
feat/core-timer-resume-triggerfrom
feat/platform-wait-until-interrupt
Open

feat: add wait until interrupt model#1768
radu-mocanu wants to merge 1 commit into
feat/core-timer-resume-triggerfrom
feat/platform-wait-until-interrupt

Conversation

@radu-mocanu

@radu-mocanu radu-mocanu commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add WaitUntil as the public time-based interrupt model
  • create timer resume triggers from timezone-aware absolute resume times

Depends on: #1767
Depends on: UiPath/uipath-runtime-python#137

Development Packages

uipath

[project]
dependencies = [
  # Exact version (copy-paste ready):
  "uipath==2.11.14.dev1017686996",

  # Any version from this PR (uncomment to use a range instead):
  # "uipath>=2.11.14.dev1017680000,<2.11.14.dev1017690000",
]

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

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

[tool.uv]
override-dependencies = ["uipath-platform==0.1.79.dev1017686996"]

uipath-platform

[project]
dependencies = [
  # Exact version (copy-paste ready):
  "uipath-platform==0.1.79.dev1017686995",

  # Any version from this PR (uncomment to use a range instead):
  # "uipath-platform>=0.1.79.dev1017680000,<0.1.79.dev1017690000",
]

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

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

Copilot AI review requested due to automatic review settings June 27, 2026 21:36
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-integrations labels Jun 27, 2026
@radu-mocanu radu-mocanu added the build:dev Create a dev build from the pr label Jun 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 WaitUntil interrupt model with validation/normalization of timezone-aware resumeTime.
  • Map WaitUntil to UiPathResumeTriggerType.TIMER/UiPathResumeTriggerName.TIMER and populate resume_time on created triggers.
  • Bump uipath / uipath-platform versions and update uipath-core / uipath-platform dependency 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.

Comment thread packages/uipath-platform/src/uipath/platform/resume_triggers/_protocol.py Outdated
@github-actions

Copy link
Copy Markdown

🚨 Heads up: uipath-integrations cross-tests are FAILING 🚨

Your changes may break one or more integrations in uipath-integrations-python:

  • uipath-openai-agents
  • uipath-google-adk
  • uipath-agent-framework
  • uipath-llamaindex
  • uipath-pydantic-ai

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

@radu-mocanu radu-mocanu force-pushed the feat/core-timer-resume-trigger branch from ced870e to 6db4d22 Compare June 27, 2026 22:16
@radu-mocanu radu-mocanu force-pushed the feat/platform-wait-until-interrupt branch from 6f51bbf to 37b0070 Compare June 27, 2026 22:17
@radu-mocanu radu-mocanu force-pushed the feat/platform-wait-until-interrupt branch from 37b0070 to bb72c62 Compare June 27, 2026 22:25
@github-actions

Copy link
Copy Markdown

🚨 Heads up: uipath-langchain cross-tests are FAILING 🚨

Your changes may break the uipath-langchain-python integration.

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:dev Create a dev build from the pr test:uipath-integrations test:uipath-langchain Triggers tests in the uipath-langchain-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants