Skip to content

feat(telemetry): report integration version on coded run events [PC-5233] - #1951

Merged
tudormatei1 merged 2 commits into
mainfrom
feat/coded-run-integration-version
Oct 21, 2026
Merged

tudormatei1 merged 2 commits into
mainfrom
feat/coded-run-integration-version

Conversation

@tudormatei1

@tudormatei1 tudormatei1 commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #1947. Framework reporting depends on the customer's integration version, and until now nothing told us which release a run was on. Coded run events now carry IntegrationVersion, the installed version of the package the runtime factory class comes from (uipath-llamaindex, uipath-langchain, uipath for functions, and so on). The integrations don't need any change.

It's one importlib.metadata.version() call per run, made only when the run is reported. Benchmarked at 0.2 to 0.3 ms per run across the eight integration environments, and an A/B of 30 real uipath run calls each showed no difference beyond run-to-run noise (median +5.8 ms, mean -8.3 ms, against a 50 to 70 ms spread).

A factory defined outside an installed package, such as in user code, gets no property. This is the integration package's version, not the underlying framework library (llama-index-core, langgraph). The new property probably needs adding to the BOI portal event spec too.

@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime test:uipath-integrations labels Oct 20, 2026
@tudormatei1
tudormatei1 marked this pull request as ready for review October 20, 2026 09:17
Copilot AI balanced review requested due to automatic review settings October 20, 2026 09:17

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.

🟢 Approval recommended

The focused changes cover both CLI paths and optional version reporting, with no unresolved blocking issues.

No open issues 🎉

What changed in this PR

Adds integration package versions to coded run telemetry, extending existing framework reporting.

Changes:

  • Reports IntegrationVersion for run and debug lifecycle events when available.
  • Adds tests for installed packages and factories without package metadata.
  • Bumps uipath to version 2.14.42.
File Description
packages/​uipath/​uv.lock Updates the locked SDK version.
packages/​uipath/​tests/​cli/​test_run_telemetry.py Tests version reporting and omission.
packages/​uipath/​src/​uipath/​_cli/​cli_run.py Passes the runtime factory to telemetry.
packages/​uipath/​src/​uipath/​_cli/​cli_debug.py Passes the debug factory to telemetry.
packages/​uipath/​src/​uipath/​_cli/​_run_telemetry.py Resolves and includes the integration version.
packages/​uipath/​pyproject.toml Bumps the package version.

Review effort: Balanced

@tudormatei1
tudormatei1 marked this pull request as draft October 21, 2026 12:14
@tudormatei1
tudormatei1 marked this pull request as ready for review October 21, 2026 12:14
Projects only report AgentFramework once they upgrade their integration
package, and nothing showed which release a run was on. Coded run events
now carry IntegrationVersion: the installed version of the package the
runtime factory class ships in, read once per run. It is omitted when the
factory lives outside an installed package.
@tudormatei1
tudormatei1 force-pushed the feat/coded-run-integration-version branch from a36be48 to 1cf800b Compare October 21, 2026 12:15
@tudormatei1
tudormatei1 enabled auto-merge (squash) October 21, 2026 12:15
@tudormatei1
tudormatei1 disabled auto-merge October 21, 2026 12:16
@sonarqubecloud

Copy link
Copy Markdown

@tudormatei1
tudormatei1 merged commit a149a2b into main Oct 21, 2026
178 of 180 checks passed
@tudormatei1
tudormatei1 deleted the feat/coded-run-integration-version branch October 21, 2026 12:48
@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

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