feat: support resumable trigger batch deletion#973
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the package to the uipath 2.13 / uipath-runtime 0.12 dependency family and extends the SQLite resumable storage to support the new batch trigger-deletion protocol, while retaining the existing single-trigger deletion API for compatibility.
Changes:
- Bump
uipath-langchainto0.14.0and updateuipath,uipath-platform, anduipath-runtimedependency ranges. - Add
delete_triggers(runtime_id, triggers)toSqliteResumableStorageand routedelete_triggerthrough it. - Add a new test covering multi-trigger deletion while ensuring other runtimes’ triggers are unaffected.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
pyproject.toml |
Updates package version and dependency constraints to the new uipath/runtime family. |
uv.lock |
Refreshes the lockfile to match updated dependency constraints. |
src/uipath_langchain/runtime/storage.py |
Implements batch deletion of resume triggers and keeps the single-delete wrapper. |
tests/runtime/test_storage.py |
Adds test coverage for batch trigger deletion behavior. |
Comment on lines
148
to
+152
| await cur.execute( | ||
| f""" | ||
| DELETE FROM {self.rs_table_name} | ||
| WHERE runtime_id = ? AND interrupt_id = ? | ||
| WHERE runtime_id = ? | ||
| AND interrupt_id IN ({",".join("?" for _ in interrupt_ids)}) |
7a50449 to
50dc55a
Compare
cristipufu
approved these changes
Jul 6, 2026
7494429 to
944e85f
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
uipath2.13 and runtime 0.12 dependency familyuipath-dev>=0.0.84from PyPI for the dev-console testcaseDepends on
Development Package
uipath pack --nolockto get the latest dev build from this PR (requires version range).