Triage bot: improve RCA with upstream evidence gathering
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 42/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- ai, api, observability-sre
Direzione di ricerca
Inizia esaminando il comportamento del bot di triage descritto nell'issue #1064 e il contratto dello schema di Sentry API e MCP a cui si fa riferimento. Definisci il flusso di raccolta delle evidenze e il formato dei commenti in modo che le risposte dell'API, i confronti tra schemi e le inferenze siano distinti esplicitamente; il lavoro è completato quando i problemi di schema o di contratto includono prove upstream osservate indipendentemente, invece di ripetere la diagnosi del segnalatore.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 938
- Fork
- 166
- Merge medio
- 1g 7h
- PR unite (30g)
- 156
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
-
bug MCP
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/toolkit#1600 · 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
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
getsentry/toolkit#1611 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement MCP
Difficoltà 4/5 1-2 giorni Idoneità per principianti 55/100
getsentry/toolkit#1601 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Use typed detector schemas from @sentry/api for metric monitorsForse già presa @MathurAditya724 l’ha presa 1 giorno fa. Aperta
getsentry/toolkit#1595 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di getsentry/toolkit
Issue simili
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixForse già presa @ItsDeadlyProgrammer l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
appsmithorg/appsmith#42471 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ehmpathy/rhachet-roles-bhrain#705 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Status: Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
mermaid-js/mermaid#8546 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
braintrustdata/braintrust-sdk-javascript#2659 ·
I maintainer di solito rispondono entro 1 giorno