Add event attachment and dropped-events commands

Offen
#1,886 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
api, cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
961
Forks
179
Ø Merge
15 Std. 33 Min.
Gemergte PRs (30 T.)
476

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus getsentry/toolkit

Alle Issues in getsentry/toolkit

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.