You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ADL schema now supports a fourth deployment target: cloudflare (Cloudflare Workers), alongside kubernetes, cloudrun, and vercel. The central docs should document it, mirroring how the Vercel target is covered.
User-facing change
spec.deployment.type accepts cloudflare, configured via a new spec.deployment.cloudflare block with fields: name, accountId, compatibilityDate, compatibilityFlags, routes, workersDev, and environment.
Like Vercel and unlike Kubernetes/Cloud Run, Workers deploy from source via wrangler rather than a prebuilt container image (no image sub-block). It models Cloudflare Workers (not Pages). Workers run on the V8-isolate edge runtime, so Node.js APIs come from the nodejs_compat compatibility flag rather than a runtime enum. Plain-text vars go in environment with ${VAR} placeholders; real secrets are set out-of-band with wrangler secret put.
Good news - this is already covered, so I did not open a redundant PR.
The Cloudflare Workers target was documented in adl-cli.md by PR #248 (merged today), which closed the sibling issue #247 ("Document Cloudflare Workers deployment target in adl-cli", sourced from the adl-cli repo). This issue #246 tracks the same user-facing change from the schema side (adl PR #74). In our central docs, both the schema field reference and the examples live in the one adl-cli.md "Deployment" section, and adl-cli.md is the only page that enumerates ADL deployment targets - so #246 is effectively a duplicate that is already satisfied.
fields table (lines 1055-1063) - all seven present
Highlights list (what it generates)
"This generates:" list (lines 1065-1068) + generated wrangler.toml (lines 1070-1084)
Deploys from source via wrangler, no image block, like Vercel
line 1034
nodejs_compat flag rather than a runtime enum
lines 1043-1044, 1060
Secrets out-of-band via wrangler secret put; only ${VAR} in [vars]
line 1053
Models Workers, not Pages
line 1034
Defaults (compatibilityDate -> 2025-01-01, compatibilityFlags -> [nodejs_compat], name -> metadata.name)
lines 1057, 1059, 1060
Recommendation
Close #246 as resolved by #248 (duplicate of #247), unless you want one of the optional improvements below.
Optional follow-ups (happy to do either on your go-ahead)
Consolidated spec.deployment overview table.[DOCS] Document Cloudflare Workers deployment target (spec.deployment.type: cloudflare) #246 mentions "the spec.deployment fields table". Our docs currently use per-target subsections (Kubernetes / Cloud Run / Vercel / Cloudflare) with no single parent table listing the type enum and the four sub-blocks. I left this as-is because adding one only for Cloudflare would be inconsistent with the other three. If you'd like, I can add a short spec.deployment overview table covering all four targets at the top of the Deployment section.
TypeScript planned wording.adl.md (line 10) and adl-cli.md (line 16) still say projects generate "in Go or Rust (TypeScript planned)", while the Cloudflare target is described as "TypeScript-only" and the Vercel section references TypeScript output. If TypeScript generation has landed, those "planned" notes likely need updating - I can reconcile them in a follow-up if you confirm.
Activity
edenreich commentedon Jun 18, 2026
@claude Can you document it?
inference-gateway-maintainer commentedon Jun 18, 2026
Claude finished @edenreich's task in 7m 14s —— View job
Cloudflare Workers deployment target - already documented
adl-cli.mdGood news - this is already covered, so I did not open a redundant PR.
The Cloudflare Workers target was documented in
adl-cli.mdby PR #248 (merged today), which closed the sibling issue #247 ("Document Cloudflare Workers deployment target in adl-cli", sourced from the adl-cli repo). This issue #246 tracks the same user-facing change from the schema side (adl PR #74). In our central docs, both the schema field reference and the examples live in the oneadl-cli.md"Deployment" section, andadl-cli.mdis the only page that enumerates ADL deployment targets - so #246 is effectively a duplicate that is already satisfied.Where each item from this issue is covered
adl-cli.mdspec.deployment.typeacceptscloudflare--deploymentflag table (line 324) + section header (line 1032)#### Cloudflare Workers(lines 1032-1097)type: cloudflareexample manifestname,accountId,compatibilityDate,compatibilityFlags,routes,workersDev,environmentwrangler.toml(lines 1070-1084)wrangler, noimageblock, like Vercelnodejs_compatflag rather than aruntimeenumwrangler secret put; only${VAR}in[vars]compatibilityDate->2025-01-01,compatibilityFlags->[nodejs_compat],name->metadata.name)Recommendation
Close #246 as resolved by #248 (duplicate of #247), unless you want one of the optional improvements below.
Optional follow-ups (happy to do either on your go-ahead)
spec.deploymentoverview table. [DOCS] Document Cloudflare Workers deployment target (spec.deployment.type: cloudflare) #246 mentions "thespec.deploymentfields table". Our docs currently use per-target subsections (Kubernetes / Cloud Run / Vercel / Cloudflare) with no single parent table listing thetypeenum and the four sub-blocks. I left this as-is because adding one only for Cloudflare would be inconsistent with the other three. If you'd like, I can add a shortspec.deploymentoverview table covering all four targets at the top of the Deployment section.TypeScript plannedwording.adl.md(line 10) andadl-cli.md(line 16) still say projects generate "in Go or Rust (TypeScript planned)", while the Cloudflare target is described as "TypeScript-only" and the Vercel section references TypeScript output. If TypeScript generation has landed, those "planned" notes likely need updating - I can reconcile them in a follow-up if you confirm.