{
  "slug": "flyctl-machine-run-and-update-add-cachedrive-size-dc82027c76bb",
  "title": "flyctl machine run and update add --cachedrive-size",
  "tools": [
    "flyctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-08T19:37:45.000Z",
  "announced_at": "2026-04-08T19:37:45.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When setting a cache drive size while running or updating a machine, pass `--cachedrive-size <size>` to `fly machine run` or `fly machine update`. Use a plain number in MB or a human-readable size; `0` disables the cache drive.",
    "examples": [
      "fly machine run <image> --cachedrive-size <size>",
      "fly machine update <machine_id> --cachedrive-size <size>"
    ],
    "gotchas": [
      "Version: v0.4.32",
      "--cachedrive-size <size>: Cache drive size in MB; accepts a plain number in MB or a human-readable size such as `512mb` or `10gb`. Set to `0` to disable.",
      "<image> (required): Image argument for `run`.",
      "<machine_id>: Machine ID argument for `update`; the command definition allows it to be omitted.",
      "Prerequisite: The command requires a flyctl session."
    ]
  },
  "why_it_matters": "Set a cached drive size when running or updating a machine.",
  "sources": [
    "https://github.com/superfly/flyctl/releases/tag/v0.4.32",
    "https://github.com/superfly/flyctl/blob/v0.4.32/internal/command/machine/run.go",
    "https://github.com/superfly/flyctl/blob/v0.4.32/internal/command/machine/update.go"
  ],
  "rank": 0.90021,
  "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": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-6cc1b2325e8de4c5-0:gate",
    "evidence_hash": "ffcbcf0b2d66a93aafff127aa29fd3496d0baab83d8dfbec1af08c1ee71a1d46"
  },
  "review": {
    "draft_hash": "4800450bac214663f043e3c13615545b68b3d4043957ab0c56690ec99640811e",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.90 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
