@Luís Duarte 🧑🍳 and what is an instance of a workflow ?
@Luís Duarte 
and what is an instance of a workflow ?



cf-aig-metadata 
Worker "workflows:test"'s binding "USER_WORKFLOW" refers to service "core:user:" with a named entrypoint "TestWorkflow", but "core:user:" has no such named entrypoint.
npm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter" and noticed that, even if I define the workflow in other file, I still need to export it from index.ts, I think this is somewhat related, but not able to figure this out in next jsTestWorkflow isn't from the example (from your error message) so I suspect you changed a binding or the Workflow name itself?



yarn dev to work will be crazy X
•2/26/25, 7:38 PM
Error: Durable Object is overloaded. Too many requests queued.Maximum number of queued instances looks like 100k per the docs 

cf-aig-metadataWorker "workflows:test"'s binding "USER_WORKFLOW" refers to service "core:user:" with a named entrypoint "TestWorkflow", but "core:user:" has no such named entrypoint..
├── src
│ ├── app (next js app)
│ │ ├── api
│ │ │ └── [[...route]]
│ │ │ └── route.ts
│ │ ├── page.tsx
│ │ └── layout.tsx
│ └── server (hono server)
│ ├── routes
│ │ └── workflow-route.ts
│ ├── workflows
│ │ └── my-workflow.ts
│ └── _app.ts
├── wrangler.jsonc
└── package.jsonnpm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter"TestWorkflowwith a named entrypoint "TestWorkflow"Workflows does not support npx wrangler dev --remote.abstract class BaseWorkflow extends WorkflowEntrypoint<Env, Params> {
async run(event: WorkflowEvent<Params>, step: WorkflowStep) {
const something = await step.do("do something", async () => {
// ...
})
await this.execute(event, step)
}
abstract execute(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>
}
class TestWorkflow extends BaseWorkflow {
async execute(event: WorkflowEvent<Params>, step: WorkflowStep) {
const something = await step.do("do something", async () => {
// ...
})
await someStepsIWantToShare(event, step)
}
}
async function someStepsIWantToShare (event: WorkflowEvent<Params>, step: WorkflowStep) {
const anotherStep = await step.do("do something else", async () => {
// ...
})
}Error: Durable Object is overloaded. Too many requests queued.Maximum number of queued instances