Skip to content

Versions and deployments

One deploy: create or reuse a Worker → encode an immutable bundle → validate the runtime → activate (promote). Authority is local SQLite and one supervised runtime generation. oc run is this path locally; oc deploy is remote HTTPS.

sh
bun run oc run --config examples/hello-worker/open-compute.json --ocd "$PWD/target/debug/ocd"
# Worker is serving at http://127.0.0.1:8787/<path>
# Deployment: <deployment-id>

A failed validation does not change the current active deployment. Promotion / rollback change the active pointer; they do not mutate a ready deployment's bytes. Preview is the local URL printed by oc run.

Compatibility

TopicCloudflareopen-compute
Versions are immutable; a release switches the active pointerYes — Versions & deploymentsYes
Rollback points at an older version instead of rewriting bytesYesYes
Deploy authorityCloudflare global rollout / placement / traffic-splittingLocal SQLite and one supervised runtime generation
Gradual deployments / version affinity / Cloudflare preview URLs / Workers Builds CIYesNot provided
oc run originN/ALoopback HTTP (or an explicitly configured local origin)
oc deployWrangler deployHTTPS only; URLs with credentials are rejected