Search explanations describe parts the search didn't run
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend-api-design
Direzione di ricerca
Start with the time-series agent output in agent.ts:53-72, then follow how search.ts:910-948 builds the executed request and how structured.ts:462-469 and formatters.ts:209-210 return the explanation. Compare the explanation with the request that actually ran, including fields and time range; done means callers are not given an explanation that claims omitted search parts were executed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
includeExplanation on search_errors and the other runSearchEvents tools returns the embedded agent's own explanation text unchanged. It can describe grouping, fields, or a time range that the executed request does not contain, so callers trust results that don't match what they asked for.
Reported in Sentry MCP user feedback (MCP-SERVER-GN4) from an automated caller:
- Grouped time series: an hourly series asked for grouping by
projectplus distinct users. The explanation said both were returned.executedSearch.fieldswas onlycount(), and the output was one ungrouped series. The span for that call was not sampled, so this case is from the feedback text only. - Time range: the explanation described a fixed window while
executedSearch.timeRangewasstatsPeriodwith nullstart/end. This one is verified in a trace and fixed in #2146.
What the code does (main @ 737f183):
- The agent's time-series output is one
yAxisplusinterval, with no group-by or top-N field (agent.ts:53-72). The handler sends oneyAxistoevents-timeseries(search.ts:1083-1104) and reportsfields: [yAxis](structured.ts:469). Any grouping or second aggregate the agent planned is dropped without a note. explanationis set fromparsed.explanation(search.ts:932) and passed through unchanged (structured.ts:462-465,formatters.ts:209-210). The handler later overrides the time range, fields, sort, or query (search.ts:910-948), but never compares the explanation with what ran.
Related: #2017 adds explicit multi-axis series for traces, logs, and metrics, not errors and not grouped series. #2139 and #2146 fix time-range drops, not the explanation text.
via Sentry.
--
- Lingua principale
- TypeScript
- Stelle
- 961
- Fork
- 179
- Merge medio
- 15h 33m
- PR unite (30g)
- 476
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/toolkit
-
MCP mcp-feedback-pattern
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/toolkit#2276 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
CLI enhancement MCP
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
getsentry/toolkit#1908 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
getsentry/toolkit#1471 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
get_sentry_resource gives no guidance for Explore > Errors list URLsForse già presa @sentry-junior l’ha presa oggi. ApertaMCP mcp-feedback-pattern
Difficoltà 2/5 1-3 ore Idoneità per principianti 32/100
getsentry/toolkit#2278 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
getsentry/toolkit#2275 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di getsentry/toolkit
Issue simili
-
Add: BOM CineApertaapproved check:passed streams:add
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug platform-android
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Termix-SSH/Mobile#146 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
devswha/herdr-web-ui#3875 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100