Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Oct 28, 2025

⚠️ Breaking change: Do not merge until ready to release in a major.

Description

Remove the --app-id, --version, and --version-code arguments to the sentry-cli upload-proguard command. Users currently using these arguments should simply stop using them. With this change, we also no longer wait for assembly of the mapping to finish on the backend; previously we needed to wait to associate the release.

This change also removes any code that had been called when these flags were specified.

Issues

@szokeasaurusrex szokeasaurusrex requested a review from a team as a code owner October 28, 2025 13:59
@linear
Copy link

linear bot commented Oct 28, 2025

@szokeasaurusrex szokeasaurusrex added the v3.0 Breaking changes to include in version 3.0.0 of Sentry CLI label Oct 28, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 28, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against e5cc03d

@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch 2 times, most recently from 0f1e80e to 39214c1 Compare October 30, 2025 14:52
@szokeasaurusrex szokeasaurusrex requested a review from a team as a code owner October 30, 2025 14:52
@szokeasaurusrex szokeasaurusrex changed the base branch from master to graphite-base/2876 October 30, 2025 14:52
@szokeasaurusrex szokeasaurusrex changed the base branch from graphite-base/2876 to szokeasaurusrex/server-options-nonzerousize October 30, 2025 14:52
@szokeasaurusrex szokeasaurusrex removed the request for review from a team October 30, 2025 14:52
Copy link
Member Author

szokeasaurusrex commented Oct 30, 2025

@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch from 39214c1 to 78c4afb Compare October 30, 2025 15:12
@szokeasaurusrex szokeasaurusrex changed the base branch from szokeasaurusrex/server-options-nonzerousize to graphite-base/2876 October 30, 2025 15:18
@szokeasaurusrex szokeasaurusrex changed the base branch from graphite-base/2876 to szokeasaurusrex/immutable-mappings October 30, 2025 15:18
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch from 78c4afb to 83f7c20 Compare November 3, 2025 10:53
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/immutable-mappings branch from 23eae8b to 4cda688 Compare November 3, 2025 10:53
Base automatically changed from szokeasaurusrex/immutable-mappings to master November 3, 2025 11:53
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch 2 times, most recently from da8a59b to 482ec10 Compare November 6, 2025 14:40
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch from 482ec10 to 9918aaa Compare November 10, 2025 11:21
szokeasaurusrex added a commit that referenced this pull request Nov 10, 2025
⚠️ **Breaking change:** Do not merge until ready to release in a major.

### Description

Remove the `--app-id`, `--version`, and `--version-code` arguments to the `sentry-cli upload-proguard` command. Users currently using these arguments should simply stop using them. With this change, we also no longer wait for assembly of the mapping to finish on the backend; previously we needed to wait to associate the release.

This change also removes any code that had been called when these flags were specified.

### Issues
 - Resolves #2868
 - Resolves [CLI-197](https://linear.app/getsentry/issue/CLI-197/remove-flags-for-setting-release)

<!--
#### Reminders
- Add GH Issue ID _&_ Linear ID (if applicable)
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-cli/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
-->
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch from 9918aaa to 2b626ed Compare November 10, 2025 11:52
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch from 2b626ed to 890bf74 Compare November 10, 2025 13:08
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Uploads bypass `--no-upload` protection.

The --no-upload flag is ignored when chunk uploading is enabled via SENTRY_EXPERIMENTAL_PROGUARD_CHUNK_UPLOAD=1. The chunk upload code path always uploads files regardless of the flag, while the legacy upload path correctly checks and respects it. This breaks the documented behavior that --no-upload disables the actual upload.

src/commands/upload_proguard.rs#L174-L189

let (org, project);
if env::var(CHUNK_UPLOAD_ENV_VAR) == Ok("1".into()) {
log::warn!(
"EXPERIMENTAL FEATURE: Uploading proguard mappings using chunked uploading. \
Some functionality may be unavailable when using chunked uploading. Please unset \
the {CHUNK_UPLOAD_ENV_VAR} variable if you encounter any \
problems."
);
authenticated_api = api.authenticated()?;
(org, project) = config.get_org_and_project(matches)?;
let chunk_upload_options = authenticated_api
.get_chunk_upload_options(&org)
.map_err(|e| anyhow::anyhow!(e))

Fix in Cursor Fix in Web


szokeasaurusrex added a commit that referenced this pull request Nov 10, 2025
⚠️ **Breaking change:** Do not merge until ready to release in a major.

Remove the `--app-id`, `--version`, and `--version-code` arguments to the `sentry-cli upload-proguard` command. Users currently using these arguments should simply stop using them. With this change, we also no longer wait for assembly of the mapping to finish on the backend; previously we needed to wait to associate the release.

This change also removes any code that had been called when these flags were specified.

 - Resolves #2868
 - Resolves [CLI-197](https://linear.app/getsentry/issue/CLI-197/remove-flags-for-setting-release)

<!--
- Add GH Issue ID _&_ Linear ID (if applicable)
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-cli/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
-->
szokeasaurusrex added a commit that referenced this pull request Nov 11, 2025
⚠️ **Breaking change:** Do not merge until ready to release in a major.

Remove the `--app-id`, `--version`, and `--version-code` arguments to the `sentry-cli upload-proguard` command. Users currently using these arguments should simply stop using them. With this change, we also no longer wait for assembly of the mapping to finish on the backend; previously we needed to wait to associate the release.

This change also removes any code that had been called when these flags were specified.

 - Resolves #2868
 - Resolves [CLI-197](https://linear.app/getsentry/issue/CLI-197/remove-flags-for-setting-release)

<!--
- Add GH Issue ID _&_ Linear ID (if applicable)
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-cli/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
-->
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch from 890bf74 to 199eab5 Compare November 11, 2025 09:49
szokeasaurusrex added a commit that referenced this pull request Nov 11, 2025
⚠️ **Breaking change:** Do not merge until ready to release in a major.

Remove the `--app-id`, `--version`, and `--version-code` arguments to the `sentry-cli upload-proguard` command. Users currently using these arguments should simply stop using them. With this change, we also no longer wait for assembly of the mapping to finish on the backend; previously we needed to wait to associate the release.

This change also removes any code that had been called when these flags were specified.

 - Resolves #2868
 - Resolves [CLI-197](https://linear.app/getsentry/issue/CLI-197/remove-flags-for-setting-release)

<!--
- Add GH Issue ID _&_ Linear ID (if applicable)
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-cli/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
-->
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch 2 times, most recently from 4f214b4 to 51273ea Compare November 11, 2025 14:33
szokeasaurusrex added a commit that referenced this pull request Nov 12, 2025
⚠️ **Breaking change:** Do not merge until ready to release in a major.

Remove the `--app-id`, `--version`, and `--version-code` arguments to the `sentry-cli upload-proguard` command. Users currently using these arguments should simply stop using them. With this change, we also no longer wait for assembly of the mapping to finish on the backend; previously we needed to wait to associate the release.

This change also removes any code that had been called when these flags were specified.

 - Resolves #2868
 - Resolves [CLI-197](https://linear.app/getsentry/issue/CLI-197/remove-flags-for-setting-release)

<!--
- Add GH Issue ID _&_ Linear ID (if applicable)
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-cli/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
-->
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch from 51273ea to 962a04a Compare November 12, 2025 15:25
szokeasaurusrex added a commit that referenced this pull request Nov 19, 2025
⚠️ **Breaking change:** Do not merge until ready to release in a major.

Remove the `--app-id`, `--version`, and `--version-code` arguments to the `sentry-cli upload-proguard` command. Users currently using these arguments should simply stop using them. With this change, we also no longer wait for assembly of the mapping to finish on the backend; previously we needed to wait to associate the release.

This change also removes any code that had been called when these flags were specified.

 - Resolves #2868
 - Resolves [CLI-197](https://linear.app/getsentry/issue/CLI-197/remove-flags-for-setting-release)

<!--
- Add GH Issue ID _&_ Linear ID (if applicable)
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-cli/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
-->
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-release-proguard-flags branch from 962a04a to 106590d Compare November 19, 2025 10:43
⚠️ **Breaking change:** Do not merge until ready to release in a major.

Remove the `--app-id`, `--version`, and `--version-code` arguments to the `sentry-cli upload-proguard` command. Users currently using these arguments should simply stop using them. With this change, we also no longer wait for assembly of the mapping to finish on the backend; previously we needed to wait to associate the release.

This change also removes any code that had been called when these flags were specified.

 - Resolves #2868
 - Resolves [CLI-197](https://linear.app/getsentry/issue/CLI-197/remove-flags-for-setting-release)

<!--
- Add GH Issue ID _&_ Linear ID (if applicable)
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-cli/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3.0 Breaking changes to include in version 3.0.0 of Sentry CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove flags for setting release

3 participants