{
  "slug": "wrangler-r2-bucket-local-uploads-manages-local-uploads-68838c9d74c8",
  "title": "wrangler r2 bucket local-uploads manages local uploads",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-03T10:16:18.000Z",
  "announced_at": "2026-02-03T10:16:18.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When managing local uploads for an R2 bucket, run `npx wrangler r2 bucket local-uploads get <BUCKET_NAME>` to check status, `enable <BUCKET_NAME>` to enable with confirmation, `enable <BUCKET_NAME> --force` to skip confirmation, or `disable <BUCKET_NAME>` to turn it off. With local uploads enabled, data is written near the client and asynchronously replicated to the bucket.",
    "examples": [
      "npx wrangler r2 bucket local-uploads get <BUCKET_NAME>",
      "npx wrangler r2 bucket local-uploads enable <BUCKET_NAME> --force",
      "npx wrangler r2 bucket local-uploads disable <BUCKET_NAME>"
    ],
    "gotchas": [
      "Version: 4.62.0",
      "<BUCKET_NAME> (required): Name of the R2 bucket to manage.",
      "--force: Enable local uploads without a confirmation prompt.",
      "Enabling without `--force` prompts for confirmation."
    ]
  },
  "why_it_matters": "Enable or disable local uploads for an R2 bucket from the command line.",
  "before": "Without local uploads, object data travels from the client to the bucket's storage infrastructure.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.62.0",
    "https://developers.cloudflare.com/r2/buckets/local-uploads/",
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler@4.62.0"
  ],
  "rank": 0.95024,
  "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": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-d65de8a91933c49d-1:gate",
    "evidence_hash": "663cd4fdec828b309dded201886f18ceef791932c5fdbb453012a18a549f0bc7"
  },
  "review": {
    "draft_hash": "8e75ced8f2eba8c756a1c034260e4079c337327b4783e08731089d43dd5f69d2",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
