From ecd0ac2153ddc7535a4b893a5131c85db89c2123 Mon Sep 17 00:00:00 2001 From: Alexandru Nica Date: Fri, 17 Jul 2026 19:05:08 +0300 Subject: [PATCH] fix(uipath-platform): run queue/trigger seed e2e under docker, not tempdir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit queue-progress-e2e and trigger-api-e2e run seed.py, which calls `uip or folders`. Under `driver: tempdir` the CLI has no pre-baked tools and must auto-install @uipath/orchestrator-tool at runtime — which fails on the prerelease CLI the eval installs (resolves on `stable`, no stable build on its line; UiPath/cli#3083), so the seed dies before the task starts and both score 0 every run. role-lifecycle-e2e runs the same seed under docker and passes. Switch both to `driver: docker` so orchestrator-tool is pre-baked, matching the established pattern (the ixp e2e tasks use docker for the same reason). Fixes the two seed failures without depending on the CLI-side fix landing/publishing. Co-Authored-By: Claude Opus 4.8 --- .../uipath-platform/resources/queue_progress_e2e.yaml | 7 ++++++- tests/tasks/uipath-platform/resources/trigger_api_e2e.yaml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/tasks/uipath-platform/resources/queue_progress_e2e.yaml b/tests/tasks/uipath-platform/resources/queue_progress_e2e.yaml index b97a9af4fe..7c3e45366a 100644 --- a/tests/tasks/uipath-platform/resources/queue_progress_e2e.yaml +++ b/tests/tasks/uipath-platform/resources/queue_progress_e2e.yaml @@ -11,8 +11,13 @@ agent: type: claude-code allowed_tools: ["Skill", "Bash", "Read", "Write"] +# driver: docker (NOT tempdir): the seed's `uip or folders` needs +# @uipath/orchestrator-tool, pre-baked into skills-image:latest. In tempdir the +# CLI must auto-install it at runtime, which fails on a prerelease CLI (resolves +# on `stable`, no stable build on its line — UiPath/cli#3083), so the seed dies +# before the task starts. role-lifecycle-e2e runs the same seed under docker. sandbox: - driver: tempdir + driver: docker python: {} pre_run: diff --git a/tests/tasks/uipath-platform/resources/trigger_api_e2e.yaml b/tests/tasks/uipath-platform/resources/trigger_api_e2e.yaml index 57ed1e4be7..d092541280 100644 --- a/tests/tasks/uipath-platform/resources/trigger_api_e2e.yaml +++ b/tests/tasks/uipath-platform/resources/trigger_api_e2e.yaml @@ -13,8 +13,13 @@ agent: type: claude-code allowed_tools: ["Skill", "Bash", "Read", "Write"] +# driver: docker (NOT tempdir): the seed's `uip or folders` needs +# @uipath/orchestrator-tool, pre-baked into skills-image:latest. In tempdir the +# CLI must auto-install it at runtime, which fails on a prerelease CLI (resolves +# on `stable`, no stable build on its line — UiPath/cli#3083), so the seed dies +# before the task starts. role-lifecycle-e2e runs the same seed under docker. sandbox: - driver: tempdir + driver: docker python: {} pre_run: