Repository navigation
docs: document cloudflare workers deployment target - #249
Closed
inference-gateway-maintainer[bot] wants to merge 1 commit into
Closed
inference-gateway-maintainer[bot] wants to merge 1 commit into
inference-gateway-maintainer[bot] wants to merge 1 commit into
Conversation
This was referenced Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new
spec.deployment.type: cloudflare(Cloudflare Workers) target in the ADL Schema Reference, mirroring how the Vercel target is covered. Source: inference-gateway/adl PR #74 (schema + reference docs), tracking inference-gateway/adl#57.Added a
#### Cloudflaresubsection underadl-cli.md-> ADL Schema Reference -> Deployment with:imageblock, like Vercel), model Workers not Pages, and meet Node.js API needs via thenodejs_compatcompatibility flag (V8-isolate edge runtime, noruntimeenum).type: cloudflareexample manifest.name,accountId,compatibilityDate,compatibilityFlags,routes,workersDev,environment.environmentwith${VAR}placeholders; real secrets viawrangler secret put.Accuracy note
ADL PR #74 changed only the schema and reference docs; its body states the change is inert until adl-cli consumes it. I verified against the current adl-cli source that there are no wrangler templates and the
--deploymentflag still emits only kubernetes/cloudrun/vercel artifacts (the bundled schema does acceptcloudflare, soadl validatepasses). The new section documents the manifest schema and notes that adl-cli does not yet emit Worker files, instead of fabricating generatedwrangler.tomloutput or a--deployment cloudflareflag that does not exist. The Key Features list, generate examples,--deploymentflag table, and Generated Project Structure were intentionally left unchanged for that reason.Verification
bun run format:check- cleanbun run lint:md- cleanbun run build- succeeds; the${...}placeholders render as literal text in the SSR'd HTML.Downstream
Cloudflare artifact generation in adl-cli (
wrangler.toml/wrangler.jsonc, Worker entrypoint) is a separate follow-up already noted in the adl PR's cross-repo impact section; this docs PR can ship independently and the section will need a generated-output update once that lands.Closes #246