Skip to content

Conversation

@roaga
Copy link
Member

@roaga roaga commented Nov 23, 2025

Correctly set the thread id in profile tool metadata.

Closes AIML-1187

@linear
Copy link

linear bot commented Nov 23, 2025

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 23, 2025
@codecov
Copy link

codecov bot commented Nov 23, 2025

Codecov Report

❌ Patch coverage is 22.22222% with 7 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/seer/explorer/utils.py 16.66% 5 Missing ⚠️
src/sentry/seer/autofix/autofix_tools.py 0.00% 1 Missing ⚠️
src/sentry/seer/explorer/tools.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #103876      +/-   ##
===========================================
- Coverage   80.58%    80.48%   -0.10%     
===========================================
  Files        9292      9296       +4     
  Lines      396718    398064    +1346     
  Branches    25286     25286              
===========================================
+ Hits       319681    320395     +714     
- Misses      76577     77209     +632     
  Partials      460       460              

@roaga roaga marked this pull request as ready for review November 24, 2025 12:58
@roaga roaga requested a review from a team as a code owner November 24, 2025 12:58
Comment on lines 51 to 61
Converts profile data into a hierarchical representation of code execution.
Selects the thread with the most in_app frames. Returns empty list if no
in_app frames exist.
Calculates accurate durations for all nodes based on call stack transitions.
Returns:
Tuple of (execution_tree, selected_thread_id) where selected_thread_id is the
thread that was used to build the execution tree.
"""
profile = profile_data.get(
"profile"

This comment was marked as outdated.

@roaga roaga merged commit 197bb4e into master Nov 24, 2025
65 checks passed
@roaga roaga deleted the explorer/fix-profile-thread-selection-metadata branch November 24, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants