Skip to content

ref(cli): Move explore onto the org-optional target positional - #1650

Merged
BYK merged 1 commit into
mainfrom
byk/cli-explore-target-positional
Oct 24, 2026
Merged

BYK merged 1 commit into
mainfrom
byk/cli-explore-target-positional

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Refs #1564. This continues #1594 with the one remaining [<org>/][<project>] target that nothing blocks.

explore declared its target with String and called resolveOrgOptionalFromArg inside func. It now uses orgOptionalTarget and awaits target.resolved, the same way feedback list and replay list do. Resolution is unchanged: it still goes through resolveOrgOptionalTarget with the same command name.

User-facing change: the parser carries the org/project completion tag, so sentry explore <TAB> now completes org/, org/project and project aliases. Before this, explore had no target completion.

Other users of the *FromArg helpers are left alone on purpose:

via BYK.

--

View Junior Session in Sentry

`explore` parsed its `[<org>/][<project>]` target in `func` with
resolveOrgOptionalFromArg and declared the positional with `String`.
It now uses `orgOptionalTarget` and awaits `target.resolved`, like
`feedback list` and `replay list`.

Because the parser carries the org/project completion tag, `sentry
explore <TAB>` now completes `org/`, `org/project` and aliases.

Refs #1564

Co-Authored-By: BYK <burak.kaya@sentry.io>
@vercel

vercel Bot commented Oct 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Oct 23, 2026 11:40pm UTC

Request Review

@sentry-junior sentry-junior Bot added the CLI Sentry CLI and CLI documentation label Oct 23, 2026
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Oct 23, 2026
@BYK
BYK merged commit 5901483 into main Oct 24, 2026
26 of 27 checks passed
@BYK
BYK deleted the byk/cli-explore-target-positional branch October 24, 2026 15:45

This branch was previously deployed

1 inactive deployment
Preview — 2127e0bd Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI Sentry CLI and CLI documentation risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant