Skip to content
Intelligence RadarNews & Launches2 MIN READ

Cloudflare Launches Worker Previews for Isolated Testing Environments

Cloudflare has introduced Worker Previews, providing developers with isolated preview environments for every change made in their Git branches.

Fathom Intelligence
Fathom IntelligenceFathom Layer Expert

Cloudflare has announced the launch of Worker Previews, a new feature designed to offer developers isolated preview environments for every change made in their Git branches. This initiative aims to provide a testing environment as close to production as possible, allowing developers to thoroughly test their changes before deploying them to production.

With Worker Previews, each Git branch receives a production-like environment with its own code, configuration, URL, observability, and state. Developers can deploy an isolated Preview using npx wrangler preview, which allows them to use their own variables, secrets, and bindings, separate from production settings. This ensures that every push updates the same running Preview, enabling developers to send requests, interact with the UI, and test runtime responses.

Key features of Worker Previews include:

  • Isolated Durable Objects and Containers per branch, keeping state changes, sessions, memory, migrations, and concurrent tests scoped to the Preview.
  • The ability to inspect logs, errors, metrics, and traces for the Preview to confirm the change works, catch failures, push a fix, and verify it before production.
  • Starting from a base configuration defined by the developer, with the option to override configuration when necessary without affecting production or other Previews.

Cloudflare emphasizes that Worker Previews extend the same model beyond code, allowing hundreds of Previews to run simultaneously without affecting each other or production. The dashboard provides a unified view of all environments, making it easier for contributors to work on separate changes without conflicts.

This new feature is part of Cloudflare's ongoing efforts to enhance the development lifecycle and provide developers with the tools they need to efficiently test and deploy their applications.


Source: cloudflare

END OF SIGNAL

Don't Miss the Next Signal

Get high-impact hardware and AI launches distilled into your inbox. No noise, just the changes that matter.