Skip to content

cherry-pick(release/v1.207): run a package with no project in the default project (#4630) - #4753

Open
KunalSM99 wants to merge 1 commit into
release/v1.207from
cherry-pick/v1.207-uipath-test-run-default-project
Open

KunalSM99 wants to merge 1 commit into
release/v1.207from
cherry-pick/v1.207-uipath-test-run-default-project

Conversation

@KunalSM99

Copy link
Copy Markdown
Contributor

Cherry-pick of #4630 into release/v1.207, to go with the CLI cherry-pick UiPath/cli#6093. With no project named, the agent leaves out --project-key on uip tm run --type package, which then runs in the tenant's default project, and tells the user Data.ProjectKey.

git cherry-pick -x 48e6cae91 applied with no conflicts; the diff is identical to #4630's. 1.206 has the same change in #4750, so this keeps 1.207 from dropping it.

Merge order

Merge after UiPath/cli#6093, so the skill never tells an agent to drop --project-key on a 1.207 CLI that still needs it.

Verification

  • check-skill-links.mjs and check-sensitive-content.py pass.
  • Not run locally: check-cli-verbs.py (needs PyYAML); CI runs it.

🤖 Generated with Claude Code

…ct (#4630)

* feat(uipath-test): run a package with no project in the default project

`uip tm run --type package` now runs in the tenant's default project when
--project-key and --project-id are left out (UiPath/cli#6007). The skill
used to tell the agent to run `get-default` first and pass its key; now it
leaves the flag out and reports `Data.ProjectKey`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(uipath-test): show --project-key as optional on the package-run usage line

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 48e6cae)
@KunalSM99
KunalSM99 requested a review from a team as a code owner November 16, 2026 08:46
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @KunalSM99's task in 50s —— View job


Summary

Cherry-picks #4630 into release/v1.207. When no project is named, uip tm run --type package now leaves out --project-key and runs in the tenant's default project, so the agent no longer runs get-default first. The agent reports the project from Data.ProjectKey. One file, +2/−2.

Change-by-Change Review

1. skills/uipath-test/SKILL.md:54: default-project routing paragraph

OK. Package runs are no longer in the list of new work that triggers get-default. That list is now test cases, test sets and requirements. A new sentence points to "Run an uploaded package" for the package case. The permission_denied sentence ("from either command") still means update --set-default / get-default, so it still reads correctly.

2. skills/uipath-test/SKILL.md:110: Run an uploaded package (CI)

OK. --project-key is now shown as optional ([--project-key <PROJECT_KEY>]). The old "Without a project run get-default…" line is replaced. The new text says that with no flag the command uses the default project and creates it if there is none, the agent tells the user Data.ProjectKey, and permission_denied stops under Rule 10. It agrees with Rule 10(d) at line 29 and the anti-patterns at lines 185–186. The anti-pattern "do not run get-default to inspect" still holds.

3. Cherry-pick fidelity

OK. One commit, SKILL.md only. The hunks match the description of #4630. I couldn't run git range-diff against 48e6cae91 in this sandbox (permission denied), so I checked the diff by reading it. No flavor overrides exist for uipath-test (skill-flavors/*/uipath-test/ is empty), so no replacement blocks need syncing.

What's Missing

  • Low: no task tests a package run with no project named. run_package_ci_smoke.yaml and run_package_failing_smoke.yaml both pass a seeded project-key.txt, so they never reach the new branch. They still pass unchanged. A follow-up smoke task on main could check that --project-key is left out and that Data.ProjectKey reaches the user. That belongs on main, not in this cherry-pick.
  • Otherwise nothing identified.

Area Ratings

Area Status Notes
Frontmatter OK Not touched
E2E Tests OK Existing package-run tasks name a project, so they are unaffected; no task covers the new branch (Low)
Skill Body OK Lines 54 and 110 agree with each other, with Rule 10(d), and with the anti-patterns
References & Assets OK No link changes; the new mention of the "Run an uploaded package" section is plain text and the section exists
Repo Hygiene OK Scoped to one skill; no secrets or paths; no registry or CODEOWNERS changes needed

Issues for Manual Review

  • Merge order: merge this only after UiPath/cli#6093 lands in the 1.207 CLI. Otherwise the skill tells agents to drop a flag that 1.207 still requires. The agent would hit missing required option, and Rule 10(e) allows one --help retry before stopping.
  • I can't check here that the CLI creates the default project when there is none, or that it returns Data.ProjectKey. Both claims rely on cli#6093.

This branch has not been deployed

No deployments
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.

1 participant