ci: Use non-deprecated sentry-cli snapshots upload command - #5774
Merged
Conversation
The `sentry-cli build snapshots` command is deprecated in favor of `sentry-cli snapshots upload`. Rename both usages in CI so the upload steps stop emitting deprecation warnings and keep working once the old command is removed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
runningcode
requested review from
0xadam-brown,
adinauer,
markushi and
romtsn
as code owners
July 16, 2026 14:42
romtsn
approved these changes
Jul 16, 2026
runningcode
enabled auto-merge (squash)
July 16, 2026 14:45
📲 Install BuildsAndroid
|
Contributor
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| b193867 | 319.59 ms | 403.09 ms | 83.50 ms |
| 2124a46 | 319.19 ms | 415.04 ms | 95.85 ms |
| a5ab36f | 316.83 ms | 394.54 ms | 77.71 ms |
| dba088c | 320.59 ms | 361.29 ms | 40.70 ms |
| 4e3e79d | 328.10 ms | 395.64 ms | 67.54 ms |
| abfcc92 | 309.54 ms | 380.32 ms | 70.78 ms |
| 539ca63 | 313.51 ms | 355.43 ms | 41.92 ms |
| 3d205d0 | 352.15 ms | 432.53 ms | 80.38 ms |
| bb0ff41 | 312.86 ms | 363.78 ms | 50.92 ms |
| 2195398 | 319.02 ms | 342.38 ms | 23.36 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| b193867 | 1.58 MiB | 2.19 MiB | 620.00 KiB |
| 2124a46 | 1.58 MiB | 2.12 MiB | 551.51 KiB |
| a5ab36f | 1.58 MiB | 2.12 MiB | 555.26 KiB |
| dba088c | 1.58 MiB | 2.13 MiB | 558.99 KiB |
| 4e3e79d | 0 B | 0 B | 0 B |
| abfcc92 | 1.58 MiB | 2.13 MiB | 557.31 KiB |
| 539ca63 | 1.58 MiB | 2.12 MiB | 551.41 KiB |
| 3d205d0 | 1.58 MiB | 2.10 MiB | 532.97 KiB |
| bb0ff41 | 0 B | 0 B | 0 B |
| 2195398 | 0 B | 0 B | 0 B |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
The
sentry-cli build snapshotscommand is deprecated in favor ofsentry-cli snapshots upload. This renames both usages in CI:.github/workflows/build.yml— thesentry-android-coretest-snapshots upload step..github/workflows/integration-tests-ui.yml— thesentry-android-replayreplay-snapshots upload step.The arguments (positional path +
--app-id) are unchanged, since this is purely a command-group rename.💡 Motivation and Context
CI is emitting the following deprecation warning:
Switching now silences the warning and keeps the upload steps working once the deprecated command is removed from
sentry-cli.💚 How did you test it?
CI-only change. The behavior is verified by the snapshot upload steps running green in CI. Note: the new subcommand could not be verified against a local
sentry-clisource checkout (v3.1.0 still ships onlybuild snapshots); the change follows the deprecation warning's explicit guidance, and CI installs the latest CLI viacurl -sL https://sentry.io/get-cli/.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps