Skip to content
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

feat(seer-rpc) Get issues related to file patches #85133

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

kddubey
Copy link
Contributor

@kddubey kddubey commented Feb 13, 2025

Adds a Seer RPC method to fetch issues whose latest event's stacktrace file names and function names match those from an inputted set of file patches. Needed for the relevant warnings project.

Currently copies the safety/qualification checks from open_pr_comment, but we may tweak how this works in the future.

For orgs which signed up for the static analysis alpha, the method will get called on every new PR which has warnings.

Copy link

codecov bot commented Feb 13, 2025

Codecov Report

Attention: Patch coverage is 94.00000% with 12 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/api/endpoints/seer_rpc.py 87.75% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #85133      +/-   ##
==========================================
+ Coverage   87.97%   87.98%   +0.01%     
==========================================
  Files        9620     9618       -2     
  Lines      543130   543938     +808     
  Branches    21020    21020              
==========================================
+ Hits       477802   478576     +774     
- Misses      65023    65057      +34     
  Partials      305      305              

@kddubey kddubey force-pushed the kddubey/seer-rpc/get-issues-related-to-file-patches branch from 8a9e8aa to f415a75 Compare February 14, 2025 04:44
@kddubey kddubey changed the title feat(seer-rpc) (WIP) Get issues related to file patches feat(seer-rpc) Get issues related to file patches Feb 18, 2025
@kddubey kddubey marked this pull request as ready for review February 18, 2025 19:59
@kddubey kddubey requested a review from jennmueng February 18, 2025 19:59
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