Skip to content

feat(cloudflare/zone): add Zone resource#239

Open
agcty wants to merge 2 commits into
alchemy-run:mainfrom
agcty:codex/cloudflare-zone-resource
Open

feat(cloudflare/zone): add Zone resource#239
agcty wants to merge 2 commits into
alchemy-run:mainfrom
agcty:codex/cloudflare-zone-resource

Conversation

@agcty
Copy link
Copy Markdown
Contributor

@agcty agcty commented May 5, 2026

Adds a first-class Cloudflare Zone resource for zone-scoped infrastructure.

  • supports creating or adopting zones by name
  • exposes zone attributes needed by follow-on resources
  • supports mutable type, paused, and vanityNameServers patching
  • supports delete: false for retained production zones
  • registers Zone in the Cloudflare provider collection

Verification run:

  • bun vitest run packages/alchemy/test/Cloudflare/Zone/Zone.test.ts
  • bun tsc -b --pretty false
  • git diff --check

@agcty
Copy link
Copy Markdown
Contributor Author

agcty commented May 5, 2026

Verification update:

  • Focused test passed without live env: bun vitest run packages/alchemy/test/Cloudflare/Zone/Zone.test.ts (skipped as expected).
  • Typecheck passed: bun tsc -b --pretty false.
  • Live test passed against the real Cloudflare zone sneef.xyz using env credentials and an isolated temporary Alchemy profile. The test adopted the existing zone with delete: false, preserved current mutable zone settings, destroyed local state, and verified the zone was retained.

@agcty agcty marked this pull request as ready for review May 5, 2026 13:56
@agcty agcty force-pushed the codex/cloudflare-zone-resource branch from 5497bc4 to 3f879be Compare May 6, 2026 07:25
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.

1 participant