{
  "slug": "sentry-cli-snapshots-upload-detects-removals-and-renames-in-selective-builds-07ecc105aa47",
  "title": "sentry-cli snapshots upload detects removals and renames in selective builds",
  "tools": [
    "sentry-cli"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-02T15:24:30.000Z",
  "announced_at": "2026-06-02T15:24:30.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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.",
    "examples": [
      "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>"
    ],
    "gotchas": [
      "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."
    ]
  },
  "why_it_matters": "Upload snapshots from a selective build while detecting removed or renamed images.",
  "sources": [
    "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"
  ],
  "rank": 0.90021,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "ghtools-20261008",
    "verdict_id": "ghtools-20261008:ghtools-20261008-0b15eaaf42eacaaf-2:gate",
    "evidence_hash": "29aa6f8e428c2782b34f43e12c277bb643f2722487bb3b9ab9cd722ddd52e20f"
  },
  "review": {
    "draft_hash": "ab9c8862bf993814918cd7c5c66944a8a6acf61e7d9bc6344892dd9995b45601",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "ghtools-20261008:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.90 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
