Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath-runtime"
version = "0.0.20"
version = "0.0.21"
description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
3 changes: 3 additions & 0 deletions src/uipath/runtime/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from typing import Any

from pydantic import BaseModel, ConfigDict
from uipath.core.tracing import UiPathTraceManager

from uipath.runtime.errors import (
UiPathErrorCategory,
Expand All @@ -27,6 +28,7 @@ class UiPathRuntimeContext(BaseModel):
entrypoint: str | None = None
input: str | None = None
resume: bool = False
command: str | None = None
Copy link

Copilot AI Nov 26, 2025

Choose a reason for hiding this comment

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

The newly added command field lacks test coverage. Consider adding a test case that verifies this field can be set and retrieved correctly, similar to how other context fields like job_id, tenant_id, or entrypoint are used in the existing tests.

Copilot uses AI. Check for mistakes.
job_id: str | None = None
tenant_id: str | None = None
org_id: str | None = None
Expand All @@ -42,6 +44,7 @@ class UiPathRuntimeContext(BaseModel):
logs_file: str | None = "execution.log"
logs_min_level: str | None = "INFO"
result: UiPathRuntimeResult | None = None
trace_manager: UiPathTraceManager | None = None
Copy link

Copilot AI Nov 26, 2025

Choose a reason for hiding this comment

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

The newly added trace_manager field lacks test coverage. Consider adding a test case that verifies this field can be set and properly integrated with the context, especially since UiPathTraceManager is used in UiPathExecutionRuntime and would benefit from testing its integration with the context.

Copilot uses AI. Check for mistakes.

model_config = ConfigDict(arbitrary_types_allowed=True, extra="allow")

Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.