fix(tracing): set Traces source to CodedAgents#1631
Merged
Conversation
- Change source=Robots to source=CodedAgents in /api/Traces/spans URL built by LlmOpsHttpExporter - Align DEFAULT_SOURCE model-side value with the query-path change - Update related tests - Bump uipath to 2.10.64 and uipath-platform to 0.1.49 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 task
There was a problem hiding this comment.
Pull request overview
This PR updates the tracing span export “source” to use CodedAgents instead of Robots, aligning both the /api/Traces/spans request URL built by LlmOpsHttpExporter and the default Source value set when converting OTEL spans into UiPath spans. It also bumps package versions and updates tests to match the new expected values.
Changes:
- Update
LlmOpsHttpExporterspan export URL query parameter fromsource=Robotstosource=CodedAgents. - Change
DEFAULT_SOURCEin span model conversion from4(Robots) to10(CodedAgents) and adjust related tests. - Bump package versions (
uipathto2.10.64,uipath-platformto0.1.49) and update lockfiles accordingly.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/uipath/src/uipath/tracing/_otel_exporters.py | Switches the spans export URL query parameter to source=CodedAgents. |
| packages/uipath/tests/tracing/test_otel_exporters.py | Updates expected mocked URL / assertions to match source=CodedAgents. |
| packages/uipath-platform/src/uipath/platform/common/_span_utils.py | Updates default span Source from 4 to 10 to reflect CodedAgents. |
| packages/uipath-platform/tests/services/test_span_utils.py | Updates test expectations and documentation strings for the new default source. |
| packages/uipath/pyproject.toml | Bumps uipath version to 2.10.64. |
| packages/uipath/uv.lock | Updates locked editable package version for uipath and uipath-platform. |
| packages/uipath-platform/pyproject.toml | Bumps uipath-platform version to 0.1.49. |
| packages/uipath-platform/uv.lock | Updates locked editable package version for uipath-platform. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
radugheo
approved these changes
May 15, 2026
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
source=Robotstosource=CodedAgentsin the/api/Traces/spansURL built byLlmOpsHttpExporterDEFAULT_SOURCEmodel-side value with the query-path changeuipathto 2.10.64 anduipath-platformto 0.1.49Supersedes #1626 (that branch could not be force-pushed past the latest main due to repo ruleset blocking direct pushes; this PR is rebased onto current main).
Test plan
pytest packages/uipath/tests/tracing/test_otel_exporters.pypytest packages/uipath-platform/tests/services/test_span_utils.py🤖 Generated with Claude Code