Skip to content

ref(cli): Move agent-conversation list onto the org-optional target positional - #1709

Merged
BYK merged 1 commit into
mainfrom
byk/cli-agent-conversation-list-target
Oct 29, 2026
Merged

BYK merged 1 commit into
mainfrom
byk/cli-agent-conversation-list-target

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Refs #1564. Now that #1575 has merged, agent-conversation list can move to the target positional.

Before this change, agent-conversation list declared its target with LIST_TARGET_POSITIONAL and called resolveOrgOptionalFromArg inside func. Now it uses orgOptionalTarget and awaits target.resolved, the same way feedback list, replay list and explore do. Resolution hasn't changed. It still goes through resolveOrgOptionalTarget with the command name agent-conversation list. Completion is also the same, since both parsers carry the org/project tag.

One behavior change: a malformed target now fails in Stricli's argument scanner and exits 252, like every other target positional since #1655. Before, it failed inside func.

What's left on LIST_TARGET_POSITIONAL/NAMED_LIST_TARGET_POSITIONAL (issue list, dsn list, alert issues list, project list) goes through dispatchOrgScopedList, which resolves differently for each target mode. None of them has a single resolver to bind, so I've left them out of this PR. The follow-up is tracked on #1564.

via BYK.

--

View Junior Session in Sentry

…ositional

agent-conversation list declared its target with LIST_TARGET_POSITIONAL
and called resolveOrgOptionalFromArg in func. It now uses
orgOptionalTarget and awaits target.resolved, like feedback list,
replay list and explore. Resolution still goes through
resolveOrgOptionalTarget with the same command name.

Refs #1564

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

vercel Bot commented Oct 28, 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 28, 2026 11:58pm UTC

Request Review

@BYK
BYK enabled auto-merge (squash) October 29, 2026 00:01
@BYK
BYK merged commit 4552190 into main Oct 29, 2026
26 checks passed
@BYK
BYK deleted the byk/cli-agent-conversation-list-target branch October 29, 2026 00:11

This branch was previously deployed

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

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant