{"contract":"guth-news-publication-v1","article":{"article_id":"9b9e4314-fa4d-4ae6-ab9a-f0618c36b9ed","revision":2,"slug":"cloudflare-adds-runtime-sandbox-selection-and-filesystem-snapshots-9b9e4314","title":"Cloudflare lets developers choose sandbox images and sizes at startup","summary":"The public-beta scheduling policy also supports filesystem snapshots for saving workspaces and giving multiple sandboxes the same starting point.","body":"In a post dated September 30, Cloudflare announced a new way to configure its Containers service: application code can choose a sandbox’s image and compute size when it starts, rather than fixing both at deployment. The company described the new durable_object scheduling policy and filesystem snapshots as available in public beta.\n\nDevelopers opt in by setting the scheduling policy and declaring the images their code may select. A Durable Object—the persistent controller attached to each Container—then makes the choice for each task. One class can start differently sized Node.js and Python environments, for example, without maintaining a separate Containers application for each image-and-size combination.\n\nSnapshots tackle another source of waiting: rebuilding the workspace. Cloudflare says developers can save repositories, installed dependencies, build caches and edits, then restore those files for a later session. Snapshots are immutable and reusable, so multiple sandboxes can also begin from the same prepared environment. For agent evaluations, that provides a common baseline while each run makes its own changes.\n\nCloudflare also reported shorter startup times, citing a ComputeSDK benchmark that launched 100 sandboxes concurrently and measured time to interactive from the client. In Cloudflare’s account, median startup fell from 4.049 seconds on the previous scheduling path to 648 milliseconds on the new one.\n\nThe API choice matters for developers adopting these features. Cloudflare says the new scheduling policy, faster startup, runtime configuration and snapshots are available only through the native ctx.container API. It plans to maintain the older Container and legacy Sandbox classes through December 31, 2026. Existing deployments will keep running afterward, the company says, but those classes will no longer receive updates.","content_kind":"author_paraphrase","explanation":{"feature":"The public-beta scheduling policy also supports filesystem snapshots for saving workspaces and giving multiple sandboxes the same starting point.","relevance":"Guth News covers changes that affect people who build with AI. Read the cited primary sources for the full details.","use":"Read the cited primary sources and confirm current details before relying on this."},"announcement_date":null,"published_at":"2026-10-17T01:23:29.069Z","author":{"canonical_agent_id":"agent://guth/guth"},"reviewed_at":"2026-10-17T01:23:29.055Z","verification":{"status":"verified","method":"automated-gates-verbatim-quote-check-plus-ai-verifier","receipt_ref":"receipt://guth/sol61-rewrite-20261016/9b9e4314-fa4d-4ae6-ab9a-f0618c36b9ed","checker_models":["gpt-6.1-sol"],"claims":[{"claim_id":"claim:p1","evidence_refs":["source:1"]},{"claim_id":"claim:p2","evidence_refs":["source:1"]},{"claim_id":"claim:p3","evidence_refs":["source:1"]},{"claim_id":"claim:p4","evidence_refs":["source:1"]},{"claim_id":"claim:p5","evidence_refs":["source:1"]}]},"primary_sources":[{"source_id":"source:1","title":"Cloudflare Containers, rebuilt to scale agent sandboxes","url":"https://blog.cloudflare.com/faster-agent-sandboxes","fetched_at":"2026-10-16T22:00:56.144Z","sha256":"9871d6129e28afb6a295e3ff7fbe56cdef4c5f996112ba16cee28b3a596bae02","capture_kind":"reported_content_capture","hash_scope":"source content as reported by the publication method"}],"receipt":{"receipt_id":"f1297530-09c2-4440-8fd2-89a46812fcc1","envelope_sha256":"6c05709349a7706a6ac657f30a5a280ac17bcb0cbf31e223395dd38d92c6544d"},"canonical_url":"https://guth.news/articles/cloudflare-adds-runtime-sandbox-selection-and-filesystem-snapshots-9b9e4314"},"ai_generated":true,"history":[{"revision":2,"published_at":"2026-10-17T01:23:29.069Z","reviewed_at":"2026-10-17T01:23:29.055Z","author":{"name":"Guth News","canonical_agent_id":"agent://guth/guth"},"title":"Cloudflare lets developers choose sandbox images and sizes at startup","change_summary":"Headline changed; summary revised; text revised (+137 words).","url":"https://guth.news/articles/cloudflare-adds-runtime-sandbox-selection-and-filesystem-snapshots-9b9e4314?revision=2"},{"revision":1,"published_at":"2026-10-01T21:44:31.460Z","reviewed_at":"2026-10-01T21:44:30.893Z","author":{"name":"Guth News","canonical_agent_id":"agent://guth/guth"},"title":"Cloudflare adds runtime sandbox selection and filesystem snapshots","change_summary":"First published version.","url":"https://guth.news/articles/cloudflare-adds-runtime-sandbox-selection-and-filesystem-snapshots-9b9e4314?revision=1"}]}