Skip to content

feat(issues): Record per-branch timings for issue feed EAP double-read#113876

Merged
shashjar merged 51 commits intomasterfrom
shashjar/issue-feed-search-eap-add-metrics-for-timing
Apr 28, 2026
Merged

feat(issues): Record per-branch timings for issue feed EAP double-read#113876
shashjar merged 51 commits intomasterfrom
shashjar/issue-feed-search-eap-add-metrics-for-timing

Conversation

@shashjar
Copy link
Copy Markdown
Member

PR 3/3 to implement issue feed search via EAP queries. Follow-up to #112996.

Updates the EAP query implementation for issue feed search to capture performance/timing metrics, using the existing check_and_choose_with_timings in the SafeRolloutComparator. We will now record timings on both the control and experimental branches (both queries provided as thunks), so we can determine the performance impact of using EAP for issue feed search.

shashjar added 30 commits April 13, 2026 15:56
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-group-search
…ch' into shashjar/issue-feed-search-eap-implement-eap-double-read
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-group-search
…ch' into shashjar/issue-feed-search-eap-implement-eap-double-read
)

WIP

PR 2 for implementing issue feed search with EAP queries
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-double-read
…o shashjar/make-organization-trace-item-stats-api-endpoint-generic-over-trace-item-type
…t-generic-over-trace-item-type' into shashjar/issue-feed-search-eap-parse-search-filters-into-query-string
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-double-read
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-double-read
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-double-read
…t-generic-over-trace-item-type' into shashjar/issue-feed-search-eap-parse-search-filters-into-query-string
…t-generic-over-trace-item-type' into shashjar/issue-feed-search-eap-parse-search-filters-into-query-string
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-double-read
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-double-read
…o-query-string' into shashjar/issue-feed-search-eap-implement-eap-double-read
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 23, 2026
# one of the parallel bulk raw queries failed (maybe the issue platform dataset),
# we'll fallback to querying for errors only
if GroupCategory.ERROR.value in query_params_for_categories.keys():
callsite = "PostgresSnubaQueryExecutor.snuba_search"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Review with "Hide whitespace" on

@shashjar shashjar requested a review from a team April 23, 2026 22:47
@shashjar shashjar marked this pull request as ready for review April 23, 2026 22:47
@shashjar shashjar requested a review from a team as a code owner April 23, 2026 22:47
@shashjar shashjar removed the request for review from a team April 23, 2026 22:47
Comment thread src/sentry/search/snuba/executors.py
Copy link
Copy Markdown
Contributor

@thetruecpaul thetruecpaul left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment thread src/sentry/search/snuba/executors.py
Comment thread src/sentry/search/snuba/executors.py
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1f6de65. Configure here.

Comment thread src/sentry/search/snuba/executors.py
Base automatically changed from shashjar/issue-feed-search-eap-implement-eap-double-read to master April 28, 2026 18:01
@shashjar shashjar requested a review from a team as a code owner April 28, 2026 18:01
@shashjar shashjar merged commit 3d40523 into master Apr 28, 2026
58 checks passed
@shashjar shashjar deleted the shashjar/issue-feed-search-eap-add-metrics-for-timing branch April 28, 2026 21:32
cleptric pushed a commit that referenced this pull request May 5, 2026
#113876)

PR 3/3 to implement issue feed search via EAP queries. Follow-up to
#112996.

Updates the EAP query implementation for issue feed search to capture
performance/timing metrics, using the existing
`check_and_choose_with_timings` in the `SafeRolloutComparator`. We will
now record timings on both the control and experimental branches (both
queries provided as thunks), so we can determine the performance impact
of using EAP for issue feed search.
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.

2 participants