feat(proguard): upload-proguard → proguard upload#3174
feat(proguard): upload-proguard → proguard upload#3174szokeasaurusrex merged 1 commit intomasterfrom
upload-proguard → proguard upload#3174Conversation
|
upload-proguard → proguard upload
d83e440 to
124418a
Compare
Move the `sentry-cli upload-proguard` command to `sentry-cli proguard upload`. This new API matches the API for the `debug-files upload` and `sourcemap upload` commands. This API will also enable us to add new subcommands, which will be useful for #3173. `sentry-cli upload-proguard` is retained as an alias to `sentry-cli proguard upload`, and we intend to keep it around for the foreseeable future, so no one needs to migrate.
124418a to
718df71
Compare
This is the follow-up PR [referenced here](https://github.com/getsentry/sentry-cli/pull/3174/changes#r2878536509) on #3174.
Move the `sentry-cli upload-proguard` command to `sentry-cli proguard upload`. This new API matches the API for the `debug-files upload` and `sourcemap upload` commands. This API will also enable us to add new subcommands, which will be useful for #3173. `sentry-cli upload-proguard` is retained as an alias to `sentry-cli proguard upload`, and we intend to keep it around for the foreseeable future, so no one needs to migrate.
This is the follow-up PR [referenced here](https://github.com/getsentry/sentry-cli/pull/3174/changes#r2878536509) on #3174.
718df71 to
be51270
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| } | ||
| })), | ||
| ] | ||
| .into(), |
There was a problem hiding this comment.
Redundant AnyOf wrapping order-independent Matcher::Json matchers
Low Severity
In chunk_upload_two_files, the Matcher::AnyOf wraps two Matcher::Json values that differ only in JSON object key ordering. Since mockito's Matcher::Json uses assert-json-diff under the hood, which performs order-independent comparison of object keys, the AnyOf with both orderings is redundant. A single Matcher::Json would achieve the same result. The original test in upload_proguard.rs needed AnyOf because it used string-based matching (order-dependent), but the switch to Matcher::Json made it unnecessary.


Move the
sentry-cli upload-proguardcommand tosentry-cli proguard upload.This new API matches the API for the
debug-files uploadandsourcemap uploadcommands. This API will also enable us to add new subcommands, which will be useful for #3173.sentry-cli upload-proguardis retained as an alias tosentry-cli proguard upload, and we intend to keep it around for the foreseeable future, so no one needs to migrate.