Skip to content

ref(autofix): migrate to EAP and continuous profiling #97430

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

Merged
merged 4 commits into from
Aug 8, 2025

Conversation

roaga
Copy link
Member

@roaga roaga commented Aug 7, 2025

  • Migrates Autofix's trace context from the Transactions dataset to Spans since the former will be deprecated soon
  • Refactors Explorer's profile-fetching utils so Autofix can re-use them for continuous profiles

Sorry for the large diff, but most of it is moving stuff between files and re-doing tests.

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

codecov bot commented Aug 7, 2025

Codecov Report

❌ Patch coverage is 92.50000% with 18 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 91.13% 14 Missing ⚠️
src/sentry/seer/autofix/autofix.py 94.93% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #97430      +/-   ##
==========================================
+ Coverage   80.59%   80.60%   +0.01%     
==========================================
  Files        8549     8551       +2     
  Lines      376308   376303       -5     
  Branches    24432    24432              
==========================================
+ Hits       303293   303336      +43     
+ Misses      72644    72596      -48     
  Partials      371      371              

@roaga roaga requested a review from kddubey August 7, 2025 21:00
@roaga roaga marked this pull request as ready for review August 7, 2025 21:00
@roaga roaga requested a review from a team as a code owner August 7, 2025 21:00
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@@ -1,8 +1,18 @@
import logging
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this whole file has nothing new, just relocating helper methods

@roaga roaga merged commit e84b4c9 into master Aug 8, 2025
64 checks passed
@roaga roaga deleted the autofix/switch-to-eap branch August 8, 2025 17:59
andrewshie-sentry pushed a commit that referenced this pull request Aug 12, 2025
- Migrates Autofix's trace context from the Transactions dataset to
Spans since the former will be deprecated soon
- Refactors Explorer's profile-fetching utils so Autofix can re-use them
for continuous profiles

Sorry for the large diff, but most of it is moving stuff between files
and re-doing tests.
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants