Skip to content

fix(cloudflare/workers): support ratelimit upload bindings#256

Merged
sam-goodwin merged 1 commit into
alchemy-run:mainfrom
agcty:codex/cloudflare-ratelimit-upload-binding
May 6, 2026
Merged

fix(cloudflare/workers): support ratelimit upload bindings#256
sam-goodwin merged 1 commit into
alchemy-run:mainfrom
agcty:codex/cloudflare-ratelimit-upload-binding

Conversation

@agcty
Copy link
Copy Markdown
Contributor

@agcty agcty commented May 5, 2026

Adds the missing ratelimit Worker script upload binding variant to the generated Cloudflare Workers SDK.

  • Patches putScript request metadata bindings through the existing Cloudflare patch system
  • Regenerates the Workers service and emitted OpenAPI spec
  • Covers request encoding so namespaceId is sent as namespace_id

@agcty
Copy link
Copy Markdown
Contributor Author

agcty commented May 5, 2026

Verification update:

  • Build passed: bun --filter @distilled.cloud/core build.
  • Focused test passed: bun --filter @distilled.cloud/cloudflare test --run test/client-api.test.ts.
  • Typecheck passed: bun --filter @distilled.cloud/cloudflare typecheck.
  • Check passed: bun --filter @distilled.cloud/cloudflare check.

This unblocks Worker uploads that include ratelimit bindings for alchemy-run/alchemy-effect#238.

@agcty agcty marked this pull request as ready for review May 5, 2026 13:56
@sam-goodwin sam-goodwin merged commit d5ddb5a into alchemy-run:main May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants