Closed lorensr closed 1 year ago
File downloaded from UI: https://www.dropbox.com/s/3j30ypo8w7ajwcd/e79b3473-5234-4046-be33-91c84a0af32a_events.json?dl=0
workflow code:
import { condition, defineSignal, proxyActivities, setHandler, sleep } from '@temporalio/workflow'; import type * as activities from './activities'; export const verifySignal = defineSignal<[]>('verify'); const { notifyHumanForVerification, collectFeedback } = proxyActivities<typeof activities>({ startToCloseTimeout: '1 minute', }); export async function humanVerificationWorkflow(task: string) { let verified = false; await notifyHumanForVerification(task); setHandler(verifySignal, () => { verified = true; }); await condition(() => verified); await sleep('1 day'); await collectFeedback(); }
Seems like an SDK update should solve this, I'll verify and update if needed.
Fixed by #44
Hi I'm experiencing the same exact error running on version 1.0.2 of the extension
File downloaded from UI: https://www.dropbox.com/s/3j30ypo8w7ajwcd/e79b3473-5234-4046-be33-91c84a0af32a_events.json?dl=0
workflow code: