Skip to content

feat: JIT escalation apps support#1823

Open
Sandeepan-Ghosh-0312 wants to merge 2 commits into
mainfrom
feat/JITEscalationAppsSupport
Open

feat: JIT escalation apps support#1823
Sandeepan-Ghosh-0312 wants to merge 2 commits into
mainfrom
feat/JITEscalationAppsSupport

Conversation

@Sandeepan-Ghosh-0312

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings July 21, 2026 10:58
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-integrations labels Jul 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for JIT (debug) Action Center “escalation apps” task creation by allowing callers to bypass deployed-app schema resolution and instead send app identity hints (project key / app type) so Orchestrator can resolve a not-yet-deployed app.

Changes:

  • Extend TasksService.create/create_async to support JIT (debug) creation via is_debug, app_project_key, app_type, and optional action_schema.
  • Include additional escalation channel property fields in the agent models to carry app metadata.
  • Add tests covering debug-mode behavior and request payload expectations.

Reviewed changes

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

File Description
packages/uipath/src/uipath/agent/models/agent.py Adds app-related fields to escalation channel properties to represent JIT escalation app metadata.
packages/uipath-platform/src/uipath/platform/action_center/_tasks_service.py Adds JIT/debug parameters and logic to task creation + taskSource enhancements (solutionId/isDebug).
packages/uipath-platform/tests/services/test_actions_service.py Adds tests for debug-mode creation and payload contents.
Comments suppressed due to low confidence (1)

packages/uipath-platform/src/uipath/platform/action_center/_tasks_service.py:134

  • _create_spec calls _apply_task_source with two arguments, but _apply_task_source now requires the new is_debug parameter. This will raise a TypeError at runtime when creating app tasks.
        json_payload, priority, labels, is_actionable_message_enabled
    )
    _apply_task_source(json_payload, source_name)


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

Comment on lines +125 to +128
if is_debug and app_type is not None:
json_payload["appType"] = app_type
if is_debug and app_project_key is not None:
json_payload["appProjectKey"] = app_project_key
Comment on lines +511 to +513

if is_debug:
(key, schema) = (app_key, action_schema)
Comment on lines +613 to +615

if is_debug:
(key, schema) = (app_key, action_schema)


def _apply_task_source(payload: Dict[str, Any], source_name: str) -> None:
def _apply_task_source(payload: Dict[str, Any], source_name: str, is_debug: bool) -> None:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-integrations test:uipath-langchain Triggers tests in the uipath-langchain-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants