sentry-cli snapshots upload detects removals and renames in selective builds
Introduced 2026-06-02 · score 0.90
HOW TO USE IT
For a selective snapshot build, supply the full test suite's image names to detect removals and renames. Run `sentry-cli snapshots upload <image-dir> --app-id <app-id>` with either `--all-image-file-names <comma-separated-names>` or `--all-image-file-names-file <path>`; each flag enables selective mode.
sentry-cli snapshots upload <image-dir> --app-id <app-id> --all-image-file-names '<image1>,<image2>'sentry-cli snapshots upload <image-dir> --app-id <app-id> --all-image-file-names-file <names-file>WHY THIS HELPS
Upload snapshots from a selective build while detecting removed or renamed images.
REQUIREMENTS AND LIMITATIONS
- Version: 3.5.0
- <image-dir> (required): Directory containing images to upload.
- --app-id <app-id> (required): Application identifier.
- --all-image-file-names <names>: Comma-separated full-suite image names, including subdirectory paths; enables selective mode and detects removals and renames. Mutually exclusive with `--all-image-file-names-file`.
- --all-image-file-names-file <path>: File path containing full-suite image names, including subdirectory paths, one per line; enables selective mode and detects removals and renames. Mutually exclusive with `--all-image-file-names`.
- The flags apply to selective builds.
FIRST-PARTY EVIDENCE
- https://github.com/getsentry/sentry-cli/releases/tag/3.5.0
- https://github.com/getsentry/sentry-cli/blob/3.5.0/src/commands/snapshots/upload.rs
Check the installed version and the source before using it. Entry JSON