{
  "slug": "glab-ci-cancel-job-accepts-force-d6f2990e6c1d",
  "title": "glab ci cancel job accepts --force",
  "tools": [
    "glab"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-01T19:04:46.758Z",
  "announced_at": "2026-06-01T19:04:46.758Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a job runs in a protected environment and needs forced cancellation, run `glab ci cancel job <job-id> --force`.",
    "examples": [
      "glab ci cancel job <job-id> --force"
    ],
    "gotchas": [
      "Version: v1.101.0",
      "<id> (required): Job ID to cancel; multiple IDs are supported.",
      "--force: Force-cancel the job, even if it runs in a protected environment.",
      "Prerequisite: Authenticate `glab` with GitLab before using authenticated commands.",
      "Docs conflict: The card says force confirmation is the condition; current command documentation describes `--force` as allowing cancellation of jobs in a protected environment."
    ]
  },
  "why_it_matters": "Cancel a CI job when the command requires force confirmation.",
  "sources": [
    "https://gitlab.com/gitlab-org/cli/-/releases/v1.101.0",
    "https://docs.gitlab.com/ja-jp/cli/ci/cancel/job/",
    "https://docs.gitlab.com/cli/authentication/"
  ],
  "rank": 0.96022,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-d901e4e36a21fbff-0:gate",
    "evidence_hash": "ec26a6a77ff82efa19a79f359e1804d053716278810fab6118948f8e63051034"
  },
  "review": {
    "draft_hash": "8d05dd7474dfae4d3f870c2e416a3c2b9aef7c8494f5105e7bc70b8f6f14b005",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
