Skip to content

ref(autofix): Reuse the organization trace endpoint to simplify logic #97550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roaga
Copy link
Member

@roaga roaga commented Aug 9, 2025

The tracing logic didn't seem to be working quite right, and it was super complex and unmaintainable anyway to try to mold it into the old transaction-based logic.

So this PR simplifies things by just reusing the OrganizationTraceEndpoint, similar to the AI trace summary endpoint. On the Seer side, we'll also need to make changes to support the new data structure.

Seer PR: https://github.com/getsentry/seer/pull/3117

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

codecov bot commented Aug 9, 2025

Codecov Report

❌ Patch coverage is 83.33333% 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/autofix/autofix.py 83.33% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #97550      +/-   ##
==========================================
- Coverage   80.62%   80.61%   -0.01%     
==========================================
  Files        8560     8560              
  Lines      376889   376725     -164     
  Branches    24538    24538              
==========================================
- Hits       303865   303706     -159     
+ Misses      72654    72649       -5     
  Partials      370      370              

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.

1 participant