Add event attachment and dropped-events commands

Aperta
#1,886 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, cli

Direzione di ricerca

Start with the CLI parity inventory and task 2.4 linked in the issue, then inspect the existing event commands and their unit tests to find the project’s patterns. Implement event attachment list and event attachment download through @sentry/api; coordinate the dropped-events command with #1812 and check the permission and exposure work in #1880. Done means the command tests pass and the relevant parity-table rows are ticked.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

CLI enhancement

Part of #1357 and #1382 (CLI parity with the MCP). Plan: cli-first-mcp task 2.4 (parity table, tasks).

Under the CLI-first plan the MCP runs CLI commands instead of its own catalog tools, so every catalog tool needs a command before the catalog can go. New commands call the API through @sentry/api operations. They don't wait for the client move (#1875).

Gaps

MCP tool Command
get_event_attachment event attachment list, event attachment download
find_dropped_events the dropped-events command in #1812

event attachment download writes a file, so it is stdio-only; list is exposed. Related: #1267 (the MCP tool returns empty bodies today).

Done when

  • The commands land with unit tests, and their parity-table rows in the design are ticked.
  • Each command has a permission class and exposure (#1880), if that has landed.

via @BYK.

--

View Session in 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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/toolkit

Tutte le issue di getsentry/toolkit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.