Skip to content

feat(arg-parsing): accept comma-separated project slugs - #1607

Draft
betegon wants to merge 1 commit into
mainfrom
feat/comma-separated-project-slugs
Draft

betegon wants to merge 1 commit into
mainfrom
feat/comma-separated-project-slugs

Conversation

@betegon

@betegon betegon commented Sep 21, 2026

Copy link
Copy Markdown
Member

Summary

sentry issue list acme/web,api currently 404s against the concatenated slug. Agents already emit that form (same convention as --project a,b on alerts/releases). Slugs cannot contain commas, so splitting the project segment is unambiguous.

List commands that already fan out across ResolvedTarget[] (issue list, alert issue list, etc.) now resolve each slug. Commands that need exactly one project (trace list, project create, …) reject the list with copy-pasteable singles.

Bare payments,eu without an org is unchanged so project create payments,eu:node still works.

Test plan

  • sentry issue list <org>/web,api --json returns issues from both projects
  • sentry issue list <org>/web, api,web --json trims/dedupes
  • sentry trace list <org>/web,api errors: one project only
  • sentry project create payments,eu:node still creates a project named payments,eu

@vercel

vercel Bot commented Sep 21, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cli Ready Ready Preview Sep 21, 2026 3:49pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Sep 21, 2026 3:49pm UTC

Request Review

Agents already pass org/web,api as one positional. Split that selector
into the multi-target path issue list already uses, instead of 404ing
the concatenated slug.

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – cli 7e77775e Deployed Sep 21, 2026 by vercel[bot]
Preview – sentry-local 7e77775e Deployed Sep 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant