Repository navigation
fix(skills): take a skill bundle overwrite's mode from its version - #2027
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the skill-bundle overwrite changes.
No open issues 🎉
What changed in this PR
Aligns skill-bundle overwrites in the UiPath Platform SDK with the payloads sent by Orchestrator and Solutions, avoiding validation failures caused by requiring versionMode.
Changes:
- Derives overwrite mode from optional
version: case-insensitivelatestselects the newest version; other values pin it. Missing or blank versions preserve the agent’s declared settings. - Updates documentation and tests for the overwrite format, ignored
versionMode, and validation behavior. - Bumps
uipath-platformto 0.3.17 and synchronizes lockfiles.
| File | Description |
|---|---|
packages/uipath/uv.lock |
Updates the platform package version to 0.3.17. |
packages/uipath/docs/core/skills.md |
Documents version-based bindings and overwrite rules. |
packages/uipath-platform/uv.lock |
Synchronizes the platform package version. |
packages/uipath-platform/tests/services/skills/test_skills_service.py |
Updates service tests to use the new overwrite format. |
packages/uipath-platform/tests/services/skills/test_overwrites.py |
Tests mode selection and preservation of declared versions. |
packages/uipath-platform/tests/common/test_bindings_skill_bundle.py |
Tests optional versions, ignored versionMode, and validation. |
packages/uipath-platform/src/uipath/platform/skills/_overwrites.py |
Derives mode from overwrite version or preserves declared settings. |
packages/uipath-platform/src/uipath/platform/common/_bindings.py |
Removes the overwrite’s version_mode field and associated validation. |
packages/uipath-platform/pyproject.toml |
Bumps the package version to 0.3.17. |
Review effort: Balanced
dianagrecu-uipath
force-pushed
the
fix/skill-bundle-overwrite-version
branch
from
November 26, 2026 12:40
02592b2 to
2ee9738
Compare
andreitava-uip
approved these changes
Nov 26, 2026
dianagrecu-uipath
force-pushed
the
fix/skill-bundle-overwrite-version
branch
from
November 26, 2026 15:35
2ee9738 to
9d0e80f
Compare
|
🚨 Heads up:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
A
skillBundleresource overwrite now carriesname,folderPathand an optionalversion, the shape Orchestrator and Solutions send.versionModeis no longer read from an overwrite.versionislatest(any case, ASCII only) or the pinned version: a version number, a tag or asha256:digest.latestselects the newest version; any other value pins that version.versionkeeps the version the agent declared. A debug run inside a solution receives this shape: name and folder only.SkillBundleRefkeepsversion_mode, so agents still declare pinned or latest in code.Why
Orchestrator's
skillBundlebinding has noversionModefield; the mode is part ofversion. Up to 0.3.20, the latest release, every overwrite Orchestrator or Solutions sends fails validation (versionMode: Field required), so the bundle is reportedinvalidand the agent runs without it.Skill bundles are not enabled anywhere yet, so no deployed binding uses the old shape.
Changes
SkillBundleResourceOverwrite:version_moderemoved. AversionModekey in an entry is ignored.apply_skill_bundle_overwrite: takes the mode fromversion, and keeps the declared mode and version when the overwrite has noversion.docs/core/skills.md: the bindings example and the override rules.uipath-platform0.3.21.Tests
latest, number, tag, digest); an entry without a version is valid; aversionModekey is ignored; the version selects the mode for both a pinned and a latest declared reference; a missing or empty version keeps the declared one. They fail on the previous code.lateſt(U+017F) is pinned, not latest; this case fails without the ASCII check. The pinned version check then refuses it asinvalidbefore any request.uipath-platform: 2732 passed, 8 skipped.uipath: 2910 passed.ruff check,ruff format --checkandmypyare clean.