Afaik, remote mode doesn’t work for Workflows yet
Afaik, remote mode doesn’t work for Workflows yet
--remote because workflows are not supported in remoteWORKFLOW.get(id) will return the finished instance? Also, does .restart() work for finished workflows too?

.restart() is not implemented yet
javascript debug terminal and it works fine. For some reason it doesn't w/ workflows - all of my breakpoints are "unbound"javascript debug terminal I have to run wrangler dev and then attach vs code to the process. The same works fine w/ workflows.instance.restart, instance.terminate, etc. and it says Not implemented yet. Any tips on that?--remote)--remoteconsole.logsexport class myclass extends WorkflowEntrypoint<Env, Params> {
async run(event: WorkflowEvent<Params>, step: WorkflowStep) {
}
}// Can access bindings on this.env
max_concurrent_instances config.const uploads = await Promise.all(
batch.map(async (image, index) => {
// Add 1 second sleep between uploads, but not before the first one
if (index > 0) {
await step.sleep(`delay-upload-${i}-${index}`, "1 second");
}
return step.do(
`process-image-${i}`,
{
retries: {
limit: 3,
delay: "5 seconds",
backoff: "exponential",
},
},
() => this.downloadAndUploadImage(image, orgId)
);
})
);export class myclass extends WorkflowEntrypoint<Env, Params> {
async run(event: WorkflowEvent<Params>, step: WorkflowStep) {
}
}max_concurrent_instances