Best of CloudflareApril 2026

  1. 1
    Article
    Avatar of cloudflareCloudflare·4w

    Making Rust Workers reliable: panic and abort recovery in wasm‑bindgen

    Cloudflare details how Rust Workers now handle panic and abort recovery in WebAssembly via upstream contributions to wasm-bindgen. Historically, panics were fatal and could poison an entire Worker instance, causing cascading failures. The team implemented panic=unwind support using the WebAssembly Exception Handling proposal, allowing panics to surface as JavaScript PanicError exceptions while keeping the Wasm instance valid. For aborts (e.g., OOM), they added abort classification using Exception.Tag to distinguish recoverable from non-recoverable errors, plus a set_on_abort hook and reentrancy guards. A --reset-state-function mechanism enables automatic reinitialization for Wasm library use cases. The team also backported modern WebAssembly Exception Handling to Node.js 24 and 22 to unblock ecosystem adoption. These changes are available in workers-rs 0.8.0 via the --panic-unwind flag, with plans to make it the default.

  2. 2
    Article
    Avatar of cloudflareCloudflare·5w

    Register domains wherever you build: Cloudflare Registrar API now in beta

    Cloudflare has launched a beta Registrar API that lets developers and AI agents programmatically search for domains, check real-time availability, and register them at cost — all without leaving their editor, terminal, or agentic workflow. The API exposes three core endpoints: search (cached results), check (authoritative registry query), and register (completes synchronously in seconds or returns a 202 for polling). WHOIS privacy is enabled by default at no extra charge, and the API integrates with the Cloudflare MCP, making it immediately accessible from tools like Cursor and Claude Code. At-cost pricing applies regardless of whether registration happens via dashboard, API, or agent. Future plans include lifecycle management features such as transfers, renewals, and contact updates, plus a broader registrar-as-a-service offering.

  3. 3
    Article
    Avatar of cloudflareCloudflare·5w

    Introducing Flagship: feature flags built for the age of AI

    Cloudflare is launching Flagship, a native feature flag service built on its global network using Workers, Durable Objects, and KV. It eliminates the latency of third-party flag providers by evaluating flags at the edge — sub-millisecond, with no outbound HTTP requests. Flagship is built on OpenFeature, the CNCF open standard, so evaluation code is portable across providers. It supports boolean, string, number, and JSON flag types, multi-rule targeting with AND/OR logic, percentage-based rollouts with consistent hashing, a full audit trail, and a dashboard for non-engineers. The service is framed around AI-generated code entering production autonomously, where feature flags serve as the safety mechanism for agentic deployments. Flagship is currently in private beta.

  4. 4
    Article
    Avatar of cloudflareCloudflare·4w

    The AI engineering stack we built internally — on the platform we ship

    Cloudflare shares how they built their internal AI engineering stack using their own products over 11 months. The stack includes Cloudflare Access for zero-trust auth, AI Gateway for centralized LLM routing (20M+ requests/month, 241B tokens), Workers AI for on-platform inference, MCP Server Portals aggregating 13 servers with 182+ tools, an AI Code Reviewer integrated into CI/CD, and an Engineering Codex for standards enforcement. A proxy Worker pattern centralizes all LLM traffic, enabling per-user attribution, anonymous tracking, and zero API keys on developer machines. AGENTS.md files generated across 3,900 repos give coding agents structured repo context. The result: 93% R&D adoption, merge request volume nearly doubling quarter-over-quarter, and a security agent processing 7B tokens/day on Workers AI at 77% lower cost than proprietary models.