Repository navigation
fix(search-events): Run literal queries without Seer or the agent - #1635
Draft
sentry-junior[bot] wants to merge 1 commit into
Draft
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
A bare trace ID, `*`, or a single quoted phrase has only one reading, so translating it with Seer or the embedded agent adds latency and cost with nothing to gain. Rewrite these directly into Sentry search syntax wherever Seer would otherwise run. Co-Authored-By: Dominik Buszowiecki <44422760+DominikB2014@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
DominikB2014
marked this pull request as draft
October 23, 2026 16:51
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The search tools send any query without a
key:valuefilter to Seer's search agent, including queries that have only one possible meaning. Those runs add latency and Seer load for no gain, and when Seer is slow (it currently hits the 60s timeout on roughly a fifth of MCP runs) we also pay for the embedded-agent fallback.This handles those queries directly, with no Seer or embedded-agent call:
*→ no filtertrace:<id>(lowercased)"connection refused") → sent as is as a full-text searchIt only applies where Seer would otherwise run (Seer dataset, no structured syntax, no explicit fields or sort). Everything else keeps the current behavior, including other free text, half-written filters, and boolean prose. The final
validateEventsSearchgate and environment handling still apply. Bare 32-character hex IDs are read as trace IDs; event IDs have dedicated lookup tools.via @DominikB2014.
--
View Junior Session [Sentry]