Skip to content

Conversation

@cristipufu
Copy link
Member

@cristipufu cristipufu commented Dec 21, 2025

Description

This PR refactors the storage layer for improved scalability and correctness.

Refs:

Storage Refactoring:

  • Simplified SqliteResumableStorage schema to store triggers as JSON in a data column with runtime_id as indexed column
  • Changed save_trigger/get_latest_trigger to save_triggers/get_triggers to handle multiple triggers
  • Added delete_trigger method for individual trigger removal
  • Enabled SQLite WAL mode and added indexes for better concurrency
  • Added new save_value and get_value methods for general-purpose key-value storage with runtime and namespace scoping

Dependencies:

  • Updated uipath to 2.3.0 and added uipath-runtime 0.3.0

Testing:

  • Added comprehensive tests for parallel interrupt scenarios and concurrent storage operations

@cristipufu cristipufu self-assigned this Dec 21, 2025
@cristipufu cristipufu force-pushed the fix/update_runtime_0_3 branch 16 times, most recently from ada66b0 to c49b354 Compare December 26, 2025 12:05
@cristipufu cristipufu force-pushed the fix/update_runtime_0_3 branch from c49b354 to 8cc3202 Compare December 26, 2025 13:45
@cristipufu cristipufu merged commit d6f0e24 into main Dec 26, 2025
27 checks passed
@cristipufu cristipufu deleted the fix/update_runtime_0_3 branch December 26, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants