Add sentry open <url> to resolve any Sentry URL

Offen
#1,889 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
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
api, cli

Rechercherichtung

Read the linked CLI parity inventory and task 2.8, then inspect existing CLI commands that accept URL positionals and the MCP get_sentry_resource implementation. Identify the resources and command entry points the issue expects sentry open <url> to cover, then add unit tests and tick the corresponding parity rows; confirm the permission and exposure requirement against #1880.

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.8 (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).

Gap

The MCP's get_sentry_resource takes any Sentry URL and returns the resource. Most CLI commands accept URL positionals, but there is no single entry point.

Scope

sentry open <url> resolves the URL to its resource (issue, event, trace, replay, release, dashboard, monitor, …) and returns it, or names the command that shows it.

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.