Skip to content

Conversation

@radu-mocanu
Copy link
Contributor

@radu-mocanu radu-mocanu commented Dec 2, 2025

  • convert faulted trigger errors to runtime errors
  • use pending trigger error for polling logic

Copy link

Copilot AI left a comment

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 adds two missing runtime status values (RUNNING and PENDING) to the UiPathRuntimeStatus enum and improves error handling in the debug runtime's polling mechanism by ensuring UiPathRuntimeError exceptions are properly propagated.

  • Added RUNNING and PENDING status values to UiPathRuntimeStatus enum
  • Updated exception handling in _poll_trigger to re-raise UiPathRuntimeError alongside UiPathDebugQuitError
  • Version bumped from 0.1.2 to 0.1.3

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
uv.lock Updated version number to 0.1.3
pyproject.toml Updated version number to 0.1.3
src/uipath/runtime/result.py Added RUNNING and PENDING status enum values
src/uipath/runtime/debug/runtime.py Added import for UiPathRuntimeError and updated exception handling to re-raise it in _poll_trigger

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@radu-mocanu radu-mocanu force-pushed the chore/statuses branch 2 times, most recently from c28d0cc to 98469f5 Compare December 3, 2025 11:16
@radu-mocanu radu-mocanu changed the title chore: add missing runtime status [WIP] chore: add missing runtime status Dec 3, 2025
@radu-mocanu radu-mocanu changed the title [WIP] chore: add missing runtime status feat: convert faulted trigger errors to runtime errors Dec 3, 2025
@radu-mocanu radu-mocanu merged commit 37393ee into main Dec 3, 2025
11 checks passed
@cristipufu cristipufu deleted the chore/statuses branch December 5, 2025 09:15
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