You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
init --adopt: take over a Worker of the same name that this folder did not create. A new control token replaces the old one, and this folder's config and image/ are deployed. init prints one warning.
Fixed
init in a folder with no saved deployment and no control token now stops when a Worker of the same name already exists in the account. Before, it deployed over that Worker: new control token, default config and image, old image keys dropped. The check runs wrangler deployments list --json --name <name> before any token, secret or deploy, in every mode. If the check cannot run, init warns and goes on. A rerun in the same folder is not checked. Neither is a folder that has .cf-orbs/control-token (a run that failed before it saved the URL, or a restored backup): it keeps the same token. Restoring on a new machine without the control token needs --adopt.