docs: document wait until and timer race interrupts#949
Open
radu-mocanu wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Documents time-based typed interrupts (WaitUntil) and interrupt timeout handling, and adds test/mocks to validate typed time interrupt values flow through the resumable runtime trigger plumbing.
Changes:
- Add runtime test coverage ensuring a timer-shaped typed interrupt is forwarded unchanged to the trigger handler.
- Introduce a HITL mock graph that uses
WaitUntilfor timer-style suspension. - Extend HITL documentation with
WaitUntilbehavior and typed interrupt timeout helpers (is_timeout,assert_no_timeout).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| tests/runtime/test_resumable.py | Adds a typed timer-shaped interrupt model + trigger handler mock and a new test asserting typed interrupt pass-through. |
| tests/hitl/mocks/time_trigger_hitl.py | Adds a sample HITL graph that suspends via WaitUntil using a time-based resume condition. |
| docs/human_in_the_loop.md | Documents WaitUntil time triggers and typed interrupt timeout handling helpers. |
bff285a to
2020cdf
Compare
4fe26fd to
0f2c54b
Compare
0f2c54b to
b19f291
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.



Summary
WaitUntiltime-based interruptsinterrupt([..., WaitUntil(...)])invoke-process-timer-race-agentand include bindings for the child processstate.dbDepends on: UiPath/uipath-python#1769
Depends on: UiPath/uipath-runtime-python#138
Development Package
uipath pack --nolockto get the latest dev build from this PR (requires version range).