Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Jan 7, 2026

Description

Assume that the Sentry server supports all file types we would like to upload.

This change fixes compatibility with uploading ProGuard files self-hosted version 24.11.1, which can receive chunk-uploaded ProGuard files, but does not declare support in the accept field, yet. This will allow us to expand Sentry CLI 3.x's official support to all self-hosted versions above 24.11.1.

We also no longer check the accept field during dart-symbol-map and build uploads. As not all versions ≥24.11.1 support these features, this means that users on a self-hosted version that supports these features tries to use the command, they will no longer get an error message that states that their server lacks uploading support for those file types if they attempt to upload it. But, I think this is okay, as long as we are clear what versions are supported for these features.

Issues

@linear
Copy link

linear bot commented Jan 9, 2026

szokeasaurusrex added a commit that referenced this pull request Jan 9, 2026
### Description
Assume that the Sentry server supports all file types we would like to upload.

This change fixes compatibility with uploading ProGuard files self-hosted version 24.11.1, which [can receive chunk-uploaded ProGuard files](getsentry/sentry@7c7e79f), but [does not declare support in the `accept` field, yet](getsentry/sentry@e0b7ff2). This will allow us to expand Sentry CLI 3.x's official support to all self-hosted versions above 24.11.1.

We also no longer check the `accept` field during `dart-symbol-map` and `build` uploads. As not all versions ≥24.11.1 support these features, this means that users on a self-hosted version that supports these features tries to use the command, they will no longer get an error message that states that their server lacks uploading support for those file types if they attempt to upload it. But, I think this is okay, as long as we are clear what versions are supported for these features.

### Issues
- Resolves #3050
- Resolves [CLI-254](https://linear.app/getsentry/issue/CLI-254/assume-chunk-upload-support)
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/assume-support branch from 76ef9b2 to 4a07b44 Compare January 9, 2026 14:08
@szokeasaurusrex szokeasaurusrex requested a review from lcian January 9, 2026 14:09
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review January 9, 2026 14:09
@szokeasaurusrex szokeasaurusrex requested review from a team as code owners January 9, 2026 14:09
szokeasaurusrex added a commit that referenced this pull request Jan 9, 2026
### Description
Assume that the Sentry server supports all file types we would like to upload.

This change fixes compatibility with uploading ProGuard files self-hosted version 24.11.1, which [can receive chunk-uploaded ProGuard files](getsentry/sentry@7c7e79f), but [does not declare support in the `accept` field, yet](getsentry/sentry@e0b7ff2). This will allow us to expand Sentry CLI 3.x's official support to all self-hosted versions above 24.11.1.

We also no longer check the `accept` field during `dart-symbol-map` and `build` uploads. As not all versions ≥24.11.1 support these features, this means that users on a self-hosted version that supports these features tries to use the command, they will no longer get an error message that states that their server lacks uploading support for those file types if they attempt to upload it. But, I think this is okay, as long as we are clear what versions are supported for these features.

### Issues
- Resolves #3050
- Resolves [CLI-254](https://linear.app/getsentry/issue/CLI-254/assume-chunk-upload-support)
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/assume-support branch from 4a07b44 to 9108787 Compare January 9, 2026 14:09
Copy link
Member

@lcian lcian left a comment

Choose a reason for hiding this comment

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

What error will I get now if I try to upload a Dart symbol map and my server doesn't support it?

@szokeasaurusrex
Copy link
Member Author

Depends whether the file is able to complete assembly quickly or not. It's possible there is no error, but if you rerun with the same file after assembly finishes, you should get an error message "unsupported file type" error.

szokeasaurusrex added a commit that referenced this pull request Jan 9, 2026
### Description
Assume that the Sentry server supports all file types we would like to
upload.

This change fixes compatibility with uploading ProGuard files
self-hosted version 24.11.1, which [can receive chunk-uploaded ProGuard
files](getsentry/sentry@7c7e79f),
but [does not declare support in the `accept` field,
yet](getsentry/sentry@e0b7ff2).
This will allow us to expand Sentry CLI 3.x's official support to all
self-hosted versions above 24.11.1.

We also no longer check the `accept` field during `dart-symbol-map` and
`build` uploads. As not all versions ≥24.11.1 support these features,
this means that users on a self-hosted version that supports these
features tries to use the command, they will no longer get an error
message that states that their server lacks uploading support for those
file types if they attempt to upload it. But, I think this is okay, as
long as we are clear what versions are supported for these features.

### Issues
- Resolves #3050
- Resolves
  [CLI-254](https://linear.app/getsentry/issue/CLI-254/assume-chunk-upload-support)
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/assume-support branch from 9108787 to 7d7c3b7 Compare January 9, 2026 14:41
Copy link
Member Author

Choose a reason for hiding this comment

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

Adding a long_about apparently causes clap to completely reformat the help text

szokeasaurusrex added a commit that referenced this pull request Jan 9, 2026
### Description
Assume that the Sentry server supports all file types we would like to
upload.

This change fixes compatibility with uploading ProGuard files
self-hosted version 24.11.1, which [can receive chunk-uploaded ProGuard
files](getsentry/sentry@7c7e79f),
but [does not declare support in the `accept` field,
yet](getsentry/sentry@e0b7ff2).
This will allow us to expand Sentry CLI 3.x's official support to all
self-hosted versions above 24.11.1.

We also no longer check the `accept` field during `dart-symbol-map` and
`build` uploads. As not all versions ≥24.11.1 support these features,
this means that users on a self-hosted version that supports these
features tries to use the command, they will no longer get an error
message that states that their server lacks uploading support for those
file types if they attempt to upload it. But, I think this is okay, as
long as we are clear what versions are supported for these features.

### Issues
- Resolves #3050
- Resolves
  [CLI-254](https://linear.app/getsentry/issue/CLI-254/assume-chunk-upload-support)
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/assume-support branch from 7d7c3b7 to 14894a9 Compare January 9, 2026 14:48
### Description
Assume that the Sentry server supports all file types we would like to
upload.

This change fixes compatibility with uploading ProGuard files
self-hosted version 24.11.1, which [can receive chunk-uploaded ProGuard
files](getsentry/sentry@7c7e79f),
but [does not declare support in the `accept` field,
yet](getsentry/sentry@e0b7ff2).
This will allow us to expand Sentry CLI 3.x's official support to all
self-hosted versions above 24.11.1.

We also no longer check the `accept` field during `dart-symbol-map` and
`build` uploads. As not all versions ≥24.11.1 support these features,
this means that users on a self-hosted version that supports these
features tries to use the command, they will no longer get an error
message that states that their server lacks uploading support for those
file types if they attempt to upload it. But, I think this is okay, as
long as we are clear what versions are supported for these features.

### Issues
- Resolves #3050
- Resolves
  [CLI-254](https://linear.app/getsentry/issue/CLI-254/assume-chunk-upload-support)
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/assume-support branch from 14894a9 to 4b0c2c0 Compare January 12, 2026 09:12
@szokeasaurusrex szokeasaurusrex merged commit c9e87cf into master Jan 12, 2026
25 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/assume-support branch January 12, 2026 09:18
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.

Assume chunk upload support

3 participants