hello - is there a way to terminate or restart a workflow right now?
hello - is there a way to terminate or restart a workflow right now?




(workflow.not_found) Provided Workflow does not exist in production.env.WORKFLOW.get(id)? Error: instance.not_found). I've been unable to find a pattern for repro, except that it seems the codepath that invokes the workflow can successfully call get(id) later, even in a different instance of the worker; whereas some other codepath will always get instance.not_found. I'm using the same binding for the same worker with the same workflow id.wrangler types expected to generate types for workflows defined in wrangler.toml?restart()'ing an instance count to the 100 per 10 second liimit of the Maximum Workflow instance creation rate? // Something in one of these two steps causes the workflow to show outcome of "exception" and
// level of "error". What?
const { foo, bar } = await step.do("test", async () => {
const foo = "hello";
const bar = "world";
return {
foo,
bar,
};
});
await step.do("test", async () => {
return foo + bar;
});
// This will not cause an error...most the time...when it's the *only* step in the workflow.
await step.do("test", async () => {
return "foooo";
});Getting User settings...
👋 You are logged in with an OAuth Token, associated with the email email@gmail.com.
┌──────────────────────────────────┬──────────────────────────────────┐
│ Account Name │ Account ID │
├──────────────────────────────────┼──────────────────────────────────┤
│ myemail@gmail.com's Account │ xbc │
└──────────────────────────────────┴──────────────────────────────────┘
🔓 Token Permissions: If scopes are missing, you may need to logout and re-login.
Scope (Access)
- account (read)
- user (read)
- workers (write)
- workers_kv (write)
- workers_routes (write)
- workers_scripts (write)
- workers_tail (read)
- d1 (write)
- pages (write)
- zone (read)
- ssl_certs (write)
- ai (write)
- queues (write)
- pipelines (write)
- secrets_store (write)
- offline_access
🎢 Membership roles in "email@gmail.com's Account": Contact account super admin to change your permissions.
- Super Administrator - All Privileges
error: Recipe `deploy` failed on line 10 with exit code 1
`