fix(AE-999): remove duplicate root span and change evaluation span_type to 'eval'#1289
Closed
AAgnihotry wants to merge 1 commit intomainfrom
Closed
fix(AE-999): remove duplicate root span and change evaluation span_type to 'eval'#1289AAgnihotry wants to merge 1 commit intomainfrom
AAgnihotry wants to merge 1 commit intomainfrom
Conversation
Changed the span_type attribute from "evaluation" to "eval" for the Evaluation span to maintain consistency and match the expected format. This completes the AE-999 fix by: 1. Removing the duplicate root span with span_type="eval" (prev commit) 2. Changing the actual Evaluation span from "evaluation" to "eval" (this commit) Updated all Python tests to expect span_type="eval": - tests/cli/eval/test_eval_runtime_spans.py - tests/cli/eval/test_eval_tracing_integration.py - testcases/eval-spans-testcase/src/assert.py All 1919 tests pass. Note: Agents repo (StudioWeb) frontend needs corresponding updates: - EvalRunTraceDialog.tsx line 138: Change filter from "evaluation" to "eval" - EvalRunTraceDialog.test.tsx: Update test mocks and assertions Fixes: https://uipath.atlassian.net/browse/AE-999 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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
Fixes two issues reported in AE-999:
span_type="eval"wrapping agent execution has been removedspan_type="eval"instead of"evaluation"for consistencyChanges Made
1. Removed Duplicate Root Span (Commit a7592a7)
execution_idandspan_attributesparameters from UiPathExecutionRuntimeFile:
src/uipath/_cli/_evals/_runtime.py:817-821, 838-8392. Changed Evaluation Span Type (Commit dcb3fe1)
span_typefrom"evaluation"to"eval"Files:
src/uipath/_cli/_evals/_runtime.py:509tests/cli/eval/test_eval_runtime_spans.pytests/cli/eval/test_eval_tracing_integration.pytestcases/eval-spans-testcase/src/assert.pyNew Span Hierarchy
Testing
Frontend Changes Required
File:
frontend-sw/src/components/coded-evaluator/EvalRunTraceDialog/EvalRunTraceDialog.tsxspan.SpanType === "evaluation"tospan.SpanType === "eval"File:
frontend-sw/src/components/coded-evaluator/EvalRunTraceDialog/EvalRunTraceDialog.test.tsx"evaluation"to"eval"Related Issues
Fixes: https://uipath.atlassian.net/browse/AE-999
🤖 Generated with Claude Code
Development Package
uipath pack --nolockto get the latest dev build from this PR (requires version range).