· rangkumin.tech

Cloudflare Artifacts now runs locally so repos, tokens and Workflows can be tested before deploy

Cloudflare said on November 16 that Artifacts can now be developed and tested locally, letting developers create repositories, import Git repositories over HTTPS, issue repository tokens and clone or push before deploying to Cloudflare's network.

Why it matters

Local repositories stay separate from deployed ones, so experiments do not touch production data. They emit the same events as production when a repository is created, imported, forked or deleted, or when a repository token is created or revoked, which lets teams exercise Workflows that react to those events before shipping.

To use it, developers add an Artifacts binding to their Wrangler configuration and run the local dev server; the returned remote address works with a standard Git client for cloning and pushing. Cloudflare said the setup needs the latest Wrangler release and Git 2.32 or later on the path.

Artifacts bindings use the local simulator by default when developers run Wrangler, the Cloudflare Vite plugin or the Workers Vitest integration. Setting remote to true on the binding points it at deployed repositories instead.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.