Search explanations describe parts the search didn't run
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 57/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
--
- 主要言語
- TypeScript
- スター
- 961
- フォーク
- 179
- 平均マージ
- 15時間 33分
- マージ済み PR(30日)
- 476
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/toolkit のほかの issue
-
MCP mcp-feedback-pattern
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsentry/toolkit#2276 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
CLI enhancement MCP
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
getsentry/toolkit#1908 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/toolkit#1471 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
get_sentry_resource gives no guidance for Explore > Errors list URLs対応中かも @sentry-junior が今日担当しました。 オープンMCP mcp-feedback-pattern
難易度 2/5 1〜3時間 初心者へのやさしさ 32/100
getsentry/toolkit#2278 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
getsentry/toolkit#2275 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/toolkit の issue をすべて見る
似ている issue
-
Add: BOM Cineオープンapproved check:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug platform-android
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Termix-SSH/Mobile#146 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
devswha/herdr-web-ui#3875 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100