-
-
Notifications
You must be signed in to change notification settings - Fork 237
ref: Assume chunk uploading support #3064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
### 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)
76ef9b2 to
4a07b44
Compare
### 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)
4a07b44 to
9108787
Compare
lcian
left a comment
There was a problem hiding this 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?
|
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. |
### 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)
9108787 to
7d7c3b7
Compare
There was a problem hiding this comment.
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
### 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)
7d7c3b7 to
14894a9
Compare
### 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)
14894a9 to
4b0c2c0
Compare
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
acceptfield, 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
acceptfield duringdart-symbol-mapandbuilduploads. 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