{
  "slug": "gcloud-alpha-beta-tasks-delete-supports-batch-deletion-from-files-54bcab5f11fb",
  "title": "gcloud alpha|beta tasks delete supports batch deletion from files",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-29T00:00:00.000Z",
  "announced_at": "2026-09-29T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When deleting multiple Cloud Tasks, pass the queue and task input file to `gcloud alpha` or `gcloud beta tasks delete`; optionally write failed or skipped tasks to an output file. The input file can list task IDs/names one per line or use JSON/YAML format.",
    "examples": [
      "gcloud beta tasks delete --queue=<queue> --from-file=<tasks-file> --failed-tasks-file=<failed-tasks-file>",
      "gcloud alpha tasks delete --queue=<queue> --from-file=<tasks-file> --failed-tasks-file=<failed-tasks-file>"
    ],
    "gotchas": [
      "Availability: alpha, beta",
      "--queue=<queue> (required): Queue the tasks belong to.",
      "--from-file=<tasks-file>: Path to a file containing task IDs/names to delete, one per line or in JSON/YAML format.",
      "--failed-tasks-file=<failed-tasks-file>: Path to a file for JSON details of tasks that failed or were skipped during batch deletion.",
      "Docs conflict: The alpha command reference, last updated 2026-05-27, documents only single-task deletion and omits both file flags; the beta command reference, last updated 2026-09-29, documents batch deletion and both flags. https://docs.cloud.google.com/sdk/gcloud/reference/alpha/tasks/delete"
    ]
  },
  "why_it_matters": "Delete multiple Cloud Tasks in one batch operation using task input and failed-task output files.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#58700_2026-09-29",
    "https://docs.cloud.google.com/sdk/gcloud/reference/beta/tasks/delete"
  ],
  "rank": 0.92031,
  "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-361ce8e7254bac08-16:gate",
    "evidence_hash": "14dd3287273a31f2f5043b6780294d9d21c31f084517ed5d8074f5c2372c8307"
  },
  "review": {
    "draft_hash": "602beacc8f0794cd4e7222bd64c01df6eed3ace74c508645c1a92500e0568a70",
    "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.92 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
