Add event attachment and dropped-events commands

Open
#1,886 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
api, cli

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
TypeScript
Stars
961
Forks
179
Avg merge
15h 33m
Merged PRs (30d)
476

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/toolkit

All issues in getsentry/toolkit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.