Skip to content

ci: Use non-deprecated sentry-cli snapshots upload command - #5774

Merged
runningcode merged 1 commit into
mainfrom
claude/sentry-cli-snapshots-deprecation-fd4ba2
Jul 16, 2026
Merged

ci: Use non-deprecated sentry-cli snapshots upload command#5774
runningcode merged 1 commit into
mainfrom
claude/sentry-cli-snapshots-deprecation-fd4ba2

Conversation

@runningcode

Copy link
Copy Markdown
Contributor

📜 Description

The sentry-cli build snapshots command is deprecated in favor of sentry-cli snapshots upload. This renames both usages in CI:

  • .github/workflows/build.yml — the sentry-android-core test-snapshots upload step.
  • .github/workflows/integration-tests-ui.yml — the sentry-android-replay replay-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:

`sentry-cli build snapshots` is deprecated. Use `sentry-cli snapshots upload` instead.

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-cli source checkout (v3.1.0 still ships only build snapshots); the change follows the deprecation warning's explicit guidance, and CI installs the latest CLI via curl -sL https://sentry.io/get-cli/.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • No breaking change or entry added to the changelog.

🔮 Next steps

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
runningcode enabled auto-merge (squash) July 16, 2026 14:45
@sentry

sentry Bot commented Jul 16, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.49.0 (1) release

⚙️ sentry-android Build Distribution Settings

@github-actions

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 362.36 ms 411.04 ms 48.69 ms
Size 0 B 0 B 0 B

Baseline results on branch: main

Startup times

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

@runningcode
runningcode merged commit 455eb6e into main Jul 16, 2026
71 checks passed
@runningcode
runningcode deleted the claude/sentry-cli-snapshots-deprecation-fd4ba2 branch July 16, 2026 15:02
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.

2 participants