Cloudflare compatibility
celld implements the Cloudflare Workers APIs that this page links to. The notes list only the celld gaps and differences.
- Yes means that celld implements the complete applicable API.
- Partial means that celld does not implement a listed input, operation, or behavior.
- No means that celld does not implement the API.
celld must reject an unsupported configuration or API at deployment or first use. An unsupported feature that does not cause an error is a defect. This page identifies each known exception.
Services
| service | status |
|---|---|
| Workers | Partial |
| Durable Objects | Partial |
| Static assets | Yes |
| Cron Triggers | Partial |
| Worker Loader | Partial |
| KV | Partial |
| Queues | Partial |
| D1 | Partial |
| Workflows | Partial |
| R2 | Partial |
| Workers AI | No |
| Vectorize | No |
| Hyperdrive | No |
| Browser Rendering | No |
| Email Workers | No |
| Python Workers | No |
Workers
Partial
- The runtime API table lists the Worker runtime gaps.
- celld does not manage a custom domain or terminate TLS. Terminate TLS in the ingress proxy.
- An experimental Workers AI HTTP adapter is available through
CELLD_AI_URL.
Durable Objects
Partial
- An RPC stub cannot cross an isolate boundary. See RPC.
- An outbound WebSocket does not continue after the object moves to another node.
- celld refuses invalid UTF-8 from a SQLite
TEXTvalue. Store arbitrary bytes in aBLOB. SqlStorage.Cursor.toArray()gives a celld-specific error when the isolate is near its V8 heap limit.
Cron Triggers
Partial
- celld rejects a descending range such as
SAT-SUNorNOV-FEB. - celld rejects
*inside a list such as1,*. - celld runs one handler for each occurrence across the complete fleet.
- After fleet downtime, celld runs the most recent missed occurrence one time.
- celld runs one handler at a time for each script. It retries a failed handler
until the next occurrence unless the handler calls
noRetry(). - A service-binding target cannot run its own Cron Triggers.
Worker Loader
Partial
- Worker Loader is experimental and requires
CELLD_WORKER_LOADER=LOADER. - A
globalOutboundFetcher is not available. - A loaded Worker cannot receive a capability stub in
env. - Awaitable and pipelined properties are not available.
KV
Partial
- celld has no edge cache.
cacheTtlhas no effect, andcacheStatusisnull. - A value above 1 MiB requires a fleet bucket.
- celld stores a separate object when an application writes an identical large value after a namespace changes owners. The separate object prevents an old owner from deleting the current value.
- celld reads a large-value row from an older release, but it does not reclaim the legacy object after the row is removed.
- A namespace has one writer. Use more namespaces to increase write capacity.
- A namespace ID can use the Cloudflare hexadecimal form or another stable string.
Queues
Partial
- A queue has one writer. Use more queues to increase write capacity.
- A Queue owner accepts two concurrent producer operations. One operation can run and one operation can wait, so an overload cannot delay Queue alarms. The owner refuses an additional operation, and the producer can retry it.
- A queue can have one consumer script. The consumer cannot also export a
fetch()handler. - celld retains a message for four days. You cannot configure this period.
- Pull consumers and the Queues HTTP API are not available.
- Dashboard controls, manual consumer attachment, R2 event notifications, and Queue event subscriptions are not available.
D1
Partial
- A binding result can contain at most 100,000 rows or 32 MiB.
- celld refuses invalid UTF-8 from a SQLite
TEXTvalue. Store arbitrary bytes in aBLOB.
Workflows
Partial
create()replaces a terminal instance that has the same ID. Cloudflare refuses each duplicate ID.- celld replays
run()from the start, so code outside a step runs again. - A crash after a step side effect can run the step callback again.
retentionandlocationHintare not available.- Non-step work cannot remain pending for more than 60 seconds.
- A step result, an event payload, and the workflow parameters each have a 1 MiB limit.
pause()stops a queued or waiting instance immediately. It lets an active step finish, and the status changes fromwaitingForPausetopausedbefore the next step starts.resume()starts a paused instance and cancels a pending pause. A paused retry, sleep, or event wait keeps its remaining wait duration.restart()starts a new generation from the beginning by default. Itsfromoption can select a step by itsname,count, andtype. Thecountvalue defaults to1, and thetypevalue defaults todo.- A selected restart reuses each result before the selected step and reruns that step and each later step. The runtime rejects a selector that does not match the execution history.
delete(),deleteBatch(), and rollback are not available.- A sensitive step result and a
ReadableStreamstep result are not available.
R2
Partial
- An R2 binding uses the fleet bucket under
r2/<bucket_name>/. ssecKeyis not available.- A conditional write cannot use a streamed body larger than 8 MiB.
createMultipartUpload()does not accept a checksum.- A multipart upload cannot resume on another node or after a restart.
- celld cannot replace a multipart part that the object store already holds.
- Out-of-order parts can use at most 256 MiB of memory, and completion cannot change the order of stored parts.
jurisdictionis not available.
Runtime APIs
| API | status |
|---|---|
| Fetch, Request, Response, and Headers | Partial |
| Bindings | Partial |
| Context | Partial |
| Handlers | Partial |
| RPC | Partial |
| Streams | Partial |
| Encoding | Yes |
| WebSockets | Partial |
| Web Crypto | Partial |
| Web standards | Partial |
| WebAssembly | Yes |
| Performance and timers | Partial |
| Console | Partial |
| Node.js compatibility | Partial |
| Facets | No |
| Cache | No |
| HTMLRewriter | No |
| TCP sockets | No |
| EventSource | No |
| MessageChannel | No |
| BroadcastChannel | No |
Fetch, Request, Response, and Headers
Partial
- The
cacherequest option is not available. - celld removes
Content-Lengthfrom a Worker response. It preserves the header for aHEADresponse. - A remote Durable Object call streams the request body to the owner. The call cannot retry after body transmission starts because celld keeps no replay copy.
Bindings
Partial
- The services table lists the available binding types.
- celld supports Durable Objects, services, variables, assets, D1, KV, Queues, Workflows, and R2 bindings. Each other binding type is not available.
Context
Partial
passThroughOnException()has no effect because celld has no CDN fallback.ctx.facetsis not defined.
Handlers
Partial
- The
tailandemailhandlers are not available.
RPC
Partial
- A cross-isolate named service binding supports only a single method call. It
does not support
fetch(), awaitable properties, or pipelined paths. - An RPC stub cannot cross an isolate boundary.
ctx.exportscontains only the entrypoints that the configuration declares.
Streams
Partial
ReadableStream.from()is not available.
WebSockets
Partial
getTags()is not available.- A caller must call
accept()on the socket from a subrequest upgrade. - An outbound Worker socket closes after the response and
waitUntilwork end. - celld rejects an upgrade when the response status is not 101.
- celld removes Worker-supplied protocol and connection headers from an upgrade response.
- An outbound upgrade combines repeated values for one header name.
acceptWebSocket()throws when the isolate uses more than 90 percent of its V8 heap limit.
Web Crypto
Partial
wrapKey()andunwrapKey()are not available.- RSA-PSS signing is not available.
- Web Crypto does not provide HKDF or PBKDF2 through
deriveBits(). Usenode:cryptofor these algorithms.
Web standards
Partial
- An
AbortSignaldoes not abort an RPC call. signal.onaborthas no effect. UseaddEventListener("abort", ...).structuredClone()is not conformant for some exotic types.
Performance and timers
Partial
- An active interval keeps a Worker request open.
performance.now()has millisecond resolution.- The other
performanceproperties are stubs.
Console
Partial
debug,trace,group, andtablehave no effect.assert,time, andcountare not available.
Node.js compatibility
Partial
- celld implements
node:assert,node:async_hooks,node:buffer,node:events,node:path,node:stream,node:timers/promises, andnode:util. node:cryptodoes not implement Diffie-Hellman, streaming signatures, ciphers, RSA-PSS, or DSA signatures and key generation.node:zlibimplements only the synchronous gzip and deflate functions.node:fsreturnsENOENTfrom each read.- Each other Node.js module returns an inert stub. This behavior is a known silent gap.
TCP sockets
No
connect()returns an inert stub. This behavior is a known silent gap.
EventSource, MessageChannel, and BroadcastChannel
No
- These classes are inert stubs. This behavior is a known silent gap.
Compatibility flags
celld honors these compatibility switches:
delete_all_deletes_alarmjs_rpcfetcher_no_get_put_deletesqlite_vecwebsocket_standard_binary_type- The static-assets navigation flags
celld accepts each other compatibility flag without effect.
Cloudflare.compatibilityFlags reports only the flags that celld honors.
Wrangler configuration
celld deploy accepts wrangler.jsonc or wrangler.json. It does not
accept wrangler.toml. The deployment accepts these top-level keys:
$schema,name,main, andno_bundlecompatibility_dateandcompatibility_flagsdurable_objectsandmigrationsassets,services,triggers, andvarsd1_databases,kv_namespaces,queues,workflows, andr2_buckets
Each other top-level key, including routes, stops the deployment.
An asset-only project can omit main. celld refuses a symlink or special file
in an asset directory, and .assetsignore requires Wrangler.
See Limitations for the operating-system, networking, security, pressure, and update boundaries.