Triage bot: improve RCA with upstream evidence gathering
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- ai, api, observability-sre
調査の方向性
まず、issue #1064 に記載されたトリアージボットの動作と、参照されている Sentry API および MCP のスキーマ契約を確認します。API のレスポンス、スキーマの比較、推論が明確に区別されるように、証拠収集のフローとコメント形式を定義します。完了とは、スキーマまたは契約の問題に、報告者の診断を繰り返すのではなく、独立して観測した upstream の証拠が含まれていることを意味します。
索引モデルが issue の本文から書いたものです。
説明
The triage bot's RCA comments tend to restate the reporter's own diagnosis rather than gathering independent upstream evidence. For schema or API contract issues, the bot should verify the actual mismatch by querying Sentry directly, rather than taking the reporter's analysis at face value.
Current behavior
- Bot confirms the reporter's diagnosis without independent verification (#1064 is a clear example: the bot echoed the ZodError/enum analysis the reporter already provided, added no new evidence)
- For Sentry API issues, the bot doesn't query upstream to observe the actual response shape or confirm when the contract changed
- Evidence trail is opaque — comments don't distinguish what the bot checked vs. what it inferred from the issue body, making it hard for maintainers to trust or act on
Gap
- For schema/contract mismatches, the highest-value analysis would: call the relevant Sentry API endpoint and capture the actual response shape, cross-reference the MCP schema to confirm the exact field(s) that diverge, and surface that as grounded evidence with explicit "I called X and saw Y" framing
- Without that, the bot comment is redundant with the issue body and doesn't accelerate resolution
Suggested improvements
- When an issue references a Sentry API response or schema field, have the bot make the relevant API call and include the observed response shape in its analysis
- Require the bot to explicitly label what it verified vs. what it inferred (e.g., "Confirmed by calling
GET /organizations/{org}/issues/{id}/autofix/— response showsstatus: completed") - For schema mismatch issues, cross-reference Sentry source or API docs to confirm the current contract and when it diverged from the local expectation
Reference: #1064 (bot comment at https://github.com/getsentry/sentry-mcp/issues/1064#issuecomment-4649699516 restates the reporter's diagnosis without new evidence)
Action taken on behalf of immutable dcramer.
- 主要言語
- TypeScript
- スター
- 938
- フォーク
- 166
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 171
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/toolkit のほかの issue
-
bug MCP
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getsentry/toolkit#1621 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug MCP
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
getsentry/toolkit#1618 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Docs MCP tool failures omit isError対応中かも @thomasjiangcy が 1 日前に担当しました。 オープンbug MCP
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsentry/toolkit#1600 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/toolkit#1471 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
getsentry/toolkit#1632 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/toolkit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
farion1231/cc-switch#8829 ·
メンテナーはふだん 1 日以内に返信
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverオープンdoc-audit enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100