{
  "slug": "gcloud-beta-run-adds-dry-run-validation-for-deploy-update-and-delete-commands-80cf11d0fff1",
  "title": "gcloud beta run adds --dry-run validation for deploy, update and delete commands",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-30T00:00:00.000Z",
  "announced_at": "2026-06-30T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need to validate a Cloud Run service or worker-pool configuration without persisting changes, add `--dry-run` to one of the documented deploy, update, or delete commands. Provide the resource name and configuration arguments required for that command.",
    "examples": [
      "gcloud beta run deploy <SERVICE> --image=<IMAGE> --dry-run",
      "gcloud beta run services update <SERVICE> --dry-run",
      "gcloud beta run worker-pools deploy <WORKER_POOL> --image=<IMAGE> --dry-run"
    ],
    "gotchas": [
      "Availability: beta",
      "--dry-run: Optional flag on the listed commands; validates configuration without persisting changes.",
      "SERVICE (required): Service name positional argument for service deploy, update, and delete commands; deploy also requires an image or source configuration.",
      "WORKER_POOL (required): Worker-pool name positional argument; deploy also requires image or source configuration.",
      "--image: Specifies the container image for deployment; deployment commands also document `--source` as an alternative.",
      "The validation does not persist changes."
    ]
  },
  "why_it_matters": "Validate Cloud Run service or worker-pool configuration without persisting changes.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#57500_2026-06-30",
    "https://docs.cloud.google.com/sdk/gcloud/reference/beta/run/deploy",
    "https://docs.cloud.google.com/sdk/gcloud/reference/beta/run/services/update",
    "https://docs.cloud.google.com/sdk/gcloud/reference/beta/run/worker-pools/deploy"
  ],
  "rank": 0.91049,
  "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": "cloud-20261008",
    "verdict_id": "cloud-20261008:cloud-20261008-f47ce93817a15906-15:gate",
    "evidence_hash": "1fdd9088d25a0e6edc4c036a17a548fbb0969f3ebc5eb2baa124e33e7feecebd"
  },
  "review": {
    "draft_hash": "efc87104d70a2d4f004201f6da898a455a8f2f59ca8207bdd50e62441b95e2f1",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "cloud-20261008:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.91 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
