EmDash glossaryA sandbox runner is the part of EmDash that isolates sandboxed plugins: Dynamic Workers on Cloudflare, or a workerd child process on Node.js.
A sandbox runner is the part of EmDash that actually isolates sandboxed plugins. It is set with the sandboxRunner option in astro.config.mjs, and without one, sandboxed plugins are not loaded and registry installs fail.
- Cloudflare Workers:
sandbox()from@emdash-cms/cloudflareruns each plugin as a Dynamic Worker. It needs the Workers Paid plan and a Worker Loader binding, and limits CPU time, subrequests, and wall-clock time. - Node.js:
@emdash-cms/sandbox-workerdstartsworkerd, the open-source Workers runtime, as a child process and runs each plugin inside it, with a wall-clock limit.