feat(resource-catalog): add ENTITY to ResourceType enum#1705
Merged
Conversation
…d resource support Entity bindings were previously skipped during push because the ResourceType enum lacked an ENTITY member, causing catalog lookups to short-circuit. This meant entity resources could only be created as virtual placeholders. Adding ENTITY to the enum enables proper resource catalog lookups so entities can be created as referenced resources when found in the catalog. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 tasks
There was a problem hiding this comment.
Pull request overview
Adds support for treating entity bindings as first-class Resource Catalog resources during uipath push by extending the platform SDK’s ResourceType enum, and updates/extends CLI tests to validate the new behavior.
Changes:
- Added
ENTITY = "entity"touipath.platform.resource_catalog.ResourceTypeso entity bindings participate in catalog lookup. - Updated the “unsupported virtual kind” test to use
choiceSet(sinceentityis now supported via catalog lookup). - Added a new test ensuring an entity catalog hit results in creating a referenced resource.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/uipath/uv.lock | Lockfile regen and local editable uipath-platform version bump reference. |
| packages/uipath/tests/cli/test_create_resources.py | Updates unsupported-kind test and adds entity catalog-hit → reference test. |
| packages/uipath-platform/uv.lock | Lockfile regen reflecting uipath-platform version bump. |
| packages/uipath-platform/src/uipath/platform/resource_catalog/resource_catalog.py | Adds ENTITY to ResourceType enum enabling catalog lookup for entities. |
| packages/uipath-platform/pyproject.toml | Bumps uipath-platform package version to 0.1.62. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Strengthen the entity binding test to verify that the resource catalog is queried with the correct resource_type, name, and folder_path parameters, not just that it was called once. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
sandeeprao-uipath
approved these changes
Jun 9, 2026
cosmyo
reviewed
Jun 9, 2026
|
|
||
| [options] | ||
| exclude-newer = "2026-06-06T13:38:31.678016Z" | ||
| exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. |
Collaborator
There was a problem hiding this comment.
please revert this ... add current date if necessary
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.



Summary
ENTITY = "entity"to theResourceTypeenum inresource_catalog.pyuipath pushchoiceSetas the unsupported kind example (instead ofentity)test_entity_binding_catalog_hit_creates_referenceto verify entities are properly referencedContext
Entity bindings in
bindings.jsonwere previously skipped during push because theResourceTypeenum had noENTITYmember. This caused_find_in_resource_catalogto short-circuit (returningNone), and sinceentityis also not in thesupported_virtual_kindsset, the binding was silently skipped.With this change, folder-level entities declared in bindings can be properly resolved and linked into Studio Web solutions as referenced resources.
Test plan
uip codedagent pushwith entity binding creates a referenced resource (kind = Entity, type = Native)🤖 Generated with Claude Code