Skip to content

Compatibility flags

Flags are controlled by the platform runtime lock. Project JSON cannot set them.

json
{
  "name": "hello-typescript",
  "main": "src/index.ts"
}

Do not add compatibilityFlags. Current lock: requiredCompatibilityFlags is empty; systemCompatibilityFlags is experimental and service_binding_extra_handlers. That is executable identity, not a project-level switch.

Compatibility

TopicCloudflareopen-compute
Flag names and semanticsYes — Cloudflare compatibility flagsFrom workerd / the same names
Pinned baseline already includes Node compatibility; node: imports need no extra flagDepends on project flagsYes
compatibilityFlags / compatibility_flags in project JSONYesNot allowed; unknown fields fail
Forwarding a Wrangler flag list to the platformWranglerNot provided
Live setDashboard / Wranglerocd capabilities --json runtime, and packages/runtime/workerd.lock.json in the repo