-
Notifications
You must be signed in to change notification settings - Fork 384
Open
Description
Describe the bug
A clear and concise description of what the bug is.
@callable()
async testSchedule() {
this.schedule("0 0 * * *", "startWorkflow", {});
}
async startWorkflow() {
const workflowId = await this.runWorkflow("PROCESSING_WORKFLOW", {});
///
}The above code will result in:
error executing callback "startWorkflow" Error: Attempting to read .name on TestAgent before it was set. The name can be set by explicitly calling .setName(name) on the stub, or by using routePartyKitRequest(). This is a known issue and will be fixed soon. Follow https://github.com/cloudflare/workerd/issues/2240 for more updates.
I attempted a temp fix on the partyserver level here: cloudflare/partykit#331
Expected behavior
The workflow executes even in a scheduled/alarm function on cold wake
Version:
0.4.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels