Repository navigation
feat: generate Cloudflare Workers artifacts from spec.deployment.type: cloudflare - #224
Merged
Merged
Conversation
This was referenced Jun 18, 2026
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Jun 18, 2026
## [0.44.0](v0.43.2...v0.44.0) (2026-06-18) ### ✨ Features * generate cloudflare workers artifacts from deployment block ([#224](#224)) ([a50dd2e](a50dd2e)) * generate Vercel deployment artifacts from spec.deployment.vercel ([#205](#205)) ([0658e85](0658e85)) ### ♻️ Improvements * bump CI/CD dependencies to latest in templates ([#223](#223)) ([ca93db3](ca93db3)) ### 👷 CI * add permissions section to CI workflow ([16537a7](16537a7)) * centralize claude.yml via reusable workflow ([#214](#214)) ([98c96a6](98c96a6)) * update nix.yml to include permissions for contents ([61af48c](61af48c)) ### 🔧 Miscellaneous * **deps:** bump charm.land/lipgloss/v2 in the gomod group ([#220](#220)) ([33e1769](33e1769)) * **deps:** bump claude-code 2.1.158 -> 2.1.161, claude-code-action v1.0.133 -> v1.0.135 ([#211](#211)) ([0995d85](0995d85)) * **deps:** bump claude-code 2.1.161 -> 2.1.170, claude-code-action v1.0.135 -> v1.0.142 ([#216](#216)) ([8297544](8297544)) * **deps:** bump claude-code 2.1.170 -> 2.1.177, claude-code-action v1.0.142 -> v1.0.150 ([#218](#218)) ([8741ca0](8741ca0)) * **deps:** bump codex 0.133.0 -> 0.135.0 ([#207](#207)) ([c9e9d4b](c9e9d4b)) * **deps:** bump golang.org/x/term in the gomod group ([#215](#215)) ([b2ab82c](b2ab82c)) * **deps:** bump infer CLI v0.117.1 -> v0.119.0, infer-action v0.11.2 -> v0.11.4 ([#208](#208)) ([46417d5](46417d5)) * **deps:** bump infer CLI v0.119.0 -> v0.120.0, infer-action v0.11.4 -> v0.11.6 ([#209](#209)) ([707a03d](707a03d)) * **deps:** bump infer CLI v0.120.0 -> v0.120.1, infer-action v0.11.6 -> v0.11.7 ([#210](#210)) ([1c3bf86](1c3bf86)) * **deps:** bump infer CLI v0.120.1 -> v0.121.0 ([#212](#212)) ([d3d95ec](d3d95ec)) * **deps:** bump infer CLI v0.121.0 -> v0.121.1, infer-action v0.12.1 -> v0.13.1 ([#217](#217)) ([5ee4f98](5ee4f98)) * **deps:** bump infer-action v0.11.1 -> v0.11.2 ([#204](#204)) ([59a75c6](59a75c6)) * **deps:** bump infer-action v0.11.7 -> v0.12.1 ([#213](#213)) ([27dcc3e](27dcc3e)) * **deps:** bump infer-action v0.13.1 -> v0.15.1 ([#219](#219)) ([1ce05dd](1ce05dd))
Contributor
|
🎉 This PR is included in version 0.44.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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
Adds generator support for the
cloudflaredeployment target (Cloudflare Workers) introduced in the ADL schema (inference-gateway/adl PR #74, shipped in v0.16.0). The schema block was inert until the generator consumed it; this wires it up end to end.Schema
ADL_SCHEMA_VERSIONv0.15.0 -> v0.16.0, refreshedinternal/schema/schema.json(task fetch-schema), and regeneratedinternal/schema/types.go(task generate-types). NewCloudflareConfigtype +DeploymentConfigTypeCloudflare.Generation (TypeScript target)
Workers run TS/JS on the V8-isolate edge runtime and deploy from source via wrangler, so support is TypeScript-only (a Go/Rust agent emits no Worker artifacts).
wrangler.tomlrendered fromspec.deployment.cloudflare:name,main,compatibility_date,compatibility_flags,account_id,workers_dev,routes, and a[vars]table.src/worker.tsmodule-format Worker entrypoint scaffold (exports afetchhandler), added to.adl-ignoreso a completed handler survives regeneration.compatibilityDatedefaults to2025-01-01when omitted;compatibilityFlagsdefaults to[nodejs_compat];namefalls back tometadata.name.${VAR}placeholders are rendered into[vars]; real secrets go throughwrangler secret put.Tests / examples / docs
internal/templates/registry_cloudflare_test.go(mapping, full field set, defaults,workers_devbehavior, nil-block safety) plus a.adl-ignorecase ingenerator_test.go.examples/cloudflare-agent.yaml, wired into bothexamples:testandexamples:generateTaskfile lists.task ci(fmt -> lint -> test -> build -> verify-schema) passes locally.Notes
vercel, deploys from source - noimageblock.Closes #221