Skip to content

feat(core): add shared uipath metadata key#1773

Merged
radu-mocanu merged 1 commit into
mainfrom
feat/core-uipath-metadata-key
Jun 30, 2026
Merged

feat(core): add shared uipath metadata key#1773
radu-mocanu merged 1 commit into
mainfrom
feat/core-uipath-metadata-key

Conversation

@radu-mocanu

@radu-mocanu radu-mocanu commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a shared UIPATH_METADATA_KEY constant in uipath-core
  • export the metadata key from uipath.core
  • allow downstream packages to share the reserved UiPath metadata payload key

Development Packages

uipath-core

[project]
dependencies = [
  # Exact version (copy-paste ready):
  "uipath-core==0.5.27.dev1017737031",

  # Any version from this PR (uncomment to use a range instead):
  # "uipath-core>=0.5.27.dev1017730000,<0.5.27.dev1017740000",
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath-core = { index = "testpypi" }

uipath

[project]
dependencies = [
  # Exact version (copy-paste ready):
  "uipath==2.11.16.dev1017737031",

  # Any version from this PR (uncomment to use a range instead):
  # "uipath>=2.11.16.dev1017730000,<2.11.16.dev1017740000",
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath = { index = "testpypi" }
uipath-platform = { index = "testpypi" }
uipath-core = { index = "testpypi" }

[tool.uv]
override-dependencies = ["uipath-platform==0.1.82.dev1017737031", "uipath-core==0.5.27.dev1017737031"]

uipath-platform

[project]
dependencies = [
  # Exact version (copy-paste ready):
  "uipath-platform==0.1.82.dev1017737031",

  # Any version from this PR (uncomment to use a range instead):
  # "uipath-platform>=0.1.82.dev1017730000,<0.1.82.dev1017740000",
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath-platform = { index = "testpypi" }
uipath-core = { index = "testpypi" }

[tool.uv]
override-dependencies = ["uipath-core==0.5.27.dev1017737031"]

Copilot AI review requested due to automatic review settings June 30, 2026 10:45
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime test:uipath-integrations labels Jun 30, 2026
@radu-mocanu radu-mocanu added the build:dev Create a dev build from the pr label Jun 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a shared UIPATH_METADATA_KEY constant in uipath-core and re-exports it from the uipath.core package to enable downstream packages to consistently use a reserved UiPath metadata payload key.

Changes:

  • Add UIPATH_METADATA_KEY = "__uipath" in a new uipath.core.metadata module.
  • Re-export UIPATH_METADATA_KEY from uipath.core via __init__.py.
  • Bump uipath-core version to 0.5.27 and update related uv.lock files.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/uipath/uv.lock Updates locked editable uipath-core version reference to 0.5.27.
packages/uipath-platform/uv.lock Updates locked editable uipath-core version reference to 0.5.27.
packages/uipath-core/uv.lock Updates uipath-core package version to 0.5.27 in the lockfile.
packages/uipath-core/src/uipath/core/metadata.py Adds shared UIPATH_METADATA_KEY constant module.
packages/uipath-core/src/uipath/core/init.py Re-exports UIPATH_METADATA_KEY from uipath.core.
packages/uipath-core/pyproject.toml Bumps uipath-core version to 0.5.27.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +3 to +4
UIPATH_METADATA_KEY = "__uipath"
"""Reserved key for UiPath-owned metadata embedded in user-visible payloads."""
@radu-mocanu radu-mocanu force-pushed the feat/core-uipath-metadata-key branch from 74da68d to 8057eff Compare June 30, 2026 12:23
@github-actions

Copy link
Copy Markdown

🚨 Heads up: uipath-integrations cross-tests are FAILING 🚨

Your changes may break one or more integrations in uipath-integrations-python:

  • uipath-openai-agents
  • uipath-google-adk
  • uipath-agent-framework
  • uipath-llamaindex
  • uipath-pydantic-ai

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

@radu-mocanu radu-mocanu force-pushed the feat/core-uipath-metadata-key branch from 8057eff to 3c70fea Compare June 30, 2026 12:45
@radu-mocanu radu-mocanu force-pushed the feat/core-uipath-metadata-key branch from 3c70fea to 3fbaaf7 Compare June 30, 2026 13:12
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 90%)

See analysis details on SonarQube Cloud

@radu-mocanu radu-mocanu merged commit a22cdb1 into main Jun 30, 2026
130 of 132 checks passed
@radu-mocanu radu-mocanu deleted the feat/core-uipath-metadata-key branch June 30, 2026 13:15
@github-actions

Copy link
Copy Markdown

🚨 Heads up: uipath-langchain cross-tests are FAILING 🚨

Your changes may break the uipath-langchain-python integration.

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:dev Create a dev build from the pr test:uipath-integrations test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants