-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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(replays): allow replay requests to query across projects #48493
Conversation
JoshFerge
commented
May 3, 2023
•
edited
Loading
edited
- On the Replay Details page, since replays can be associated with backend errors and traces, we need to be able to query across projects to get the associated data associated with the replay for issues and events.
- We'll do so by adding a header to those specific requests that the backend will then look for, and allow those queries to get multi project results.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #48493 +/- ##
========================================
Coverage 80.93% 80.94%
========================================
Files 4775 4780 +5
Lines 201658 201912 +254
Branches 11503 11503
========================================
+ Hits 163221 163432 +211
- Misses 38182 38225 +43
Partials 255 255
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be a test covering this?
"organizations:global-views", organization, actor=request.user | ||
is_fetching_replay_data = request.headers.get("X-Sentry-Replay-Request") == "1" | ||
|
||
if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are there no tests for this endpoint? 😨
## Summary Adds backend error support in replay details issue tab. Requires: #48493 Relates to: #48249 Closes: #48478 