docs(langchain): add time trigger interrupts#948
Closed
radu-mocanu wants to merge 2 commits into
Closed
Conversation
There was a problem hiding this comment.
Pull request overview
Adds documentation and examples for Orchestrator-backed time trigger interrupts, and introduces a regression test to ensure “timer-shaped” typed interrupt payloads are forwarded through the resumable runtime unchanged.
Changes:
- Documented
WaitTimeTriggerusage, includingcron_expressionandtime_zone_id, in the HITL guide. - Added a regression test validating typed timer-like interrupt pass-through to the trigger handler.
- Added a HITL mock graph demonstrating
interrupt(WaitTimeTrigger(...)).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
tests/runtime/test_resumable.py |
Adds a pydantic timer-like interrupt model, capturing trigger handler, and regression test asserting typed interrupt pass-through and serialized payload shape. |
tests/hitl/mocks/time_trigger_hitl.py |
Adds a minimal HITL mock graph showing how to suspend with WaitTimeTrigger. |
docs/human_in_the_loop.md |
Adds a new “Time triggers” section documenting WaitTimeTrigger and showing an example interrupt payload. |
|
|
||
| | Attribute | Type | Description | | ||
| | --- | --- | --- | | ||
| | `cron_expression` | `str` | Quartz cron expression for the schedule. Use the same six-field shape accepted by `uip or triggers create --type time --cron`, for example `0 0 9 ? * MON-FRI`. | |
|
Collaborator
Author
|
Closing in favor of the split PR stack and replacement LangChain PR #949. |
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 Package
uipath pack --nolockto get the latest dev build from this PR (requires version range).