fix: display trace spans in terminal realtime#525
Merged
cristipufu merged 1 commit intomainfrom Sep 2, 2025
Merged
Conversation
11933fe to
4830b4d
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR improves the display of trace spans in terminal realtime by optimizing the span tree building algorithm. The changes refactor the logic to handle artificial root spans properly and improve performance through better data structure usage.
Key changes:
- Optimized span tree building algorithm for better performance
- Improved handling of artificial root spans by filtering them out
- Refactored recursive tree building logic for cleaner code structure
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/uipath/_cli/_dev/_terminal/_components/_details.py | Refactored _build_spans_tree method to filter artificial root spans and optimized tree building with prebuilt parent-to-children mapping |
| pyproject.toml | Version bump from 2.1.30 to 2.1.31 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
4830b4d to
91eaa5d
Compare
radu-mocanu
approved these changes
Sep 2, 2025
91eaa5d to
63e7f49
Compare
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.
No description provided.