You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release create sends no project unless --project is set #2534
sentry release create <version> only sends projects when --project is passed. It never falls back to the project the CLI resolves for other commands (SENTRY_PROJECT, .sentryclirc[defaults], DSN detection), so a plain release create most likely gets a 400 from Sentry.
packages/cli/src/commands/release/create.ts (~L177) sets body.projects only from flags.project. Its ReleaseTarget resolves only the org and version.
No command under packages/cli/src/commands/release/ uses lib/resolve-target.ts, the shared org/project auto-detection that sourcemap upload (resolveOrgAndProject) and issue list use.
Sentry's release POST requires projects: ReleaseSerializerWithProjects.projects in getsentry/sentry src/sentry/api/endpoints/organization_releases.py has no required=False.
--project is documented as optional, so v3 CI jobs that relied on SENTRY_PROJECT with sentry-cli releases new break after migrating. This also affects the sentry wizard Wrangler deploy script in feat(cli): add source maps and Cloudflare to sentry wizard #2529.
Found by reading the code; not yet reproduced against a server.
@BYK: the original intent was likely to auto-detect the project like issue list does.
Activity
linear-code commentedon Nov 26, 2026
MCP-1287